update docker

This commit is contained in:
Sean Macfarlane
2020-04-17 17:58:07 -04:00
parent 3a4b50884a
commit 003397429b
2 changed files with 6 additions and 1 deletions

View File

@@ -23,6 +23,10 @@ RUN rm -f .npmrc
COPY . ./
FROM node:13.12.0-alpine
WORKDIR /app
EXPOSE 3000
COPY --from=build /app /app
CMD ["npm", "start"]

View File

@@ -5,3 +5,4 @@ services:
build:
context: .
dockerfile: Dockerfile.test
command: npm run test