add dockerfile

This commit is contained in:
2019-07-01 21:23:05 +02:00
parent 761f766ea0
commit 13a92f5f62
2 changed files with 11 additions and 0 deletions

7
Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM node:10-slim
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
CMD ["node", "server"]