add docker file
This commit is contained in:
parent
1f064d1f4e
commit
12775a934e
1 changed files with 15 additions and 0 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM node:slim
|
||||
|
||||
ENV HOME=/app
|
||||
|
||||
COPY package.json $HOME/
|
||||
|
||||
WORKDIR $HOME
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . $HOME/
|
||||
|
||||
EXPOSE 4011
|
||||
|
||||
CMD ["npm", "start"]
|
Loading…
Reference in a new issue