added docker file
This commit is contained in:
parent
374d0d60ed
commit
98dd2705b4
2 changed files with 15 additions and 0 deletions
4
.dockerignore
Normal file
4
.dockerignore
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
.git
|
||||||
|
.github
|
||||||
|
build
|
||||||
|
node_modules
|
||||||
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
FROM node:latest
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY package*.json /app
|
||||||
|
|
||||||
|
RUN npm i
|
||||||
|
|
||||||
|
COPY . /app
|
||||||
|
|
||||||
|
CMD [ "npm", "start" ]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue