Added docker configuration

This commit is contained in:
Andreas Greiner 2021-06-13 15:22:18 +02:00
parent 15a6bcb07f
commit 1b2842c40c
2 changed files with 14 additions and 0 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
.vscode
node_modules

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM node:14
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8081 8181
CMD [ "npm", "start" ]