1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
This commit is contained in:
kev 2014-12-25 16:12:46 +08:00
parent 7b57d07e34
commit eeefab6355

@ -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