add server docker file

This commit is contained in:
nannal
2020-12-30 17:48:33 +02:00
parent 1decbb8e91
commit c14a4726ba
4 changed files with 40 additions and 14 deletions

9
server/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM node:latest
ADD ./ /app
WORKDIR /app
RUN npm i
CMD ["node /app/index.js"]