update build scripts, acceptence tests now pass. includes dockerfile 1.1.3

This commit is contained in:
Henry Oswald
2018-05-23 15:00:46 +01:00
parent 49ce3e6917
commit 327fa79f1c
17 changed files with 239 additions and 55 deletions
+22
View File
@@ -0,0 +1,22 @@
FROM node:6.9.5 as app
WORKDIR /app
#wildcard as some files may not be in all repos
COPY package*.json npm-shrink*.json /app/
RUN npm install --quiet
COPY . /app
RUN npm run compile:all
FROM node:6.9.5
COPY --from=app /app /app
WORKDIR /app
USER node
CMD ["node","app.js"]