2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-24 14:31:51 +01:00
This commit is contained in:
kev
2014-12-25 16:12:46 +08:00
parent 7b57d07e34
commit eeefab6355

View File

@@ -12,7 +12,8 @@ WORKDIR /ghost
RUN sed -e 's@127.0.0.1@0.0.0.0@' config.example.js > config.js
RUN npm install --production
ENV NODE_ENV production
VOLUME /ghost
EXPOSE 2368
CMD NODE_ENV=production npm start
CMD npm start