Added docker configuration
This commit is contained in:
parent
15a6bcb07f
commit
1b2842c40c
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
||||
.vscode
|
||||
node_modules
|
12
Dockerfile
Normal file
12
Dockerfile
Normal 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" ]
|
Loading…
Reference in New Issue
Block a user