added dockerfile
This commit is contained in:
parent
dbd6e9db5a
commit
61c38d25ce
2 changed files with 10 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -8,7 +8,5 @@ npm-debug.log
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
# Docker
|
# Docker
|
||||||
Dockerfile
|
|
||||||
docker-compose.yml
|
|
||||||
.idea
|
.idea
|
||||||
*.iml
|
*.iml
|
||||||
|
|
|
||||||
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
FROM node:10
|
||||||
|
|
||||||
|
VOLUME /data
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
COPY package*.json ./
|
||||||
|
RUN npm install
|
||||||
|
COPY ./src .
|
||||||
|
EXPOSE 5555
|
||||||
|
|
||||||
|
CMD [ "node", "server.js" ]
|
||||||
Loading…
Add table
Reference in a new issue