Dockerization

This commit is contained in:
Adam
2020-01-06 18:32:44 +01:00
parent 9106144d9c
commit df55e7e4e7
3 changed files with 21 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:10
# Create app directory
WORKDIR /
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 9876
VOLUME [ "/conf ]
CMD [ "npm", "start" ]