first commit

This commit is contained in:
Nils Cant
2019-09-11 10:19:01 +02:00
commit cc18641a87
5 changed files with 397 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:10.13 AS builder
WORKDIR /app/
COPY . .
RUN npm install
FROM node:10.13-slim
WORKDIR /app/
COPY --from=builder /app .
user node
EXPOSE 3000
CMD [ "node", "app.js" ]