mirror of
https://github.com/bitinflow/server.git
synced 2026-11-01 05:09:10 +00:00
add dockerfile
This commit is contained in:
1 parent
07bad31e72
commit
a5edd0f8f4
2 files changed
+13
No files matched your search
@@ -0,0 +1,2 @@
|
|||||||
|
.git
|
||||||
|
node_modules
|
||||||
+11
@@ -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