Adding dockerfile
This commit is contained in:
parent
67538fdb7f
commit
5082ba7680
2 changed files with 9 additions and 0 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
node_modules
|
||||||
|
npm-debug.log
|
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
FROM node:argon
|
||||||
|
RUN mkdir -p /usr/src/app
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
COPY . /usr/src/app
|
||||||
|
RUN npm install
|
||||||
|
EXPOSE 8080
|
||||||
|
CMD [ "npm", "start" ]
|
Loading…
Add table
Reference in a new issue