add dockerfile
This commit is contained in:
parent
07bad31e72
commit
a5edd0f8f4
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"]
|
Loading…
Reference in New Issue
Block a user