mirror of
https://github.com/bitinflow/server.git
synced 2026-03-13 13:35:53 +00:00
add dockerfile
This commit is contained in:
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.git
|
||||||
|
node_modules
|
||||||
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
FROM node:0.10.32
|
||||||
|
|
||||||
|
RUN mkdir -p /usr/src/app
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
ADD package.json /usr/src/app/
|
||||||
|
RUN npm install
|
||||||
|
ADD . /usr/src/app
|
||||||
|
|
||||||
|
ENV NODE_ENV production
|
||||||
|
ENTRYPOINT ["bin/server"]
|
||||||
Reference in New Issue
Block a user