Slight docker performance optimization
This commit is contained in:
parent
66bea8a42b
commit
34a139040c
2 changed files with 4 additions and 0 deletions
|
@ -26,5 +26,7 @@ RUN cd /usr/src/app && npm install --production
|
|||
VOLUME /data
|
||||
WORKDIR /data
|
||||
|
||||
ENV NODE_ENV="production"
|
||||
|
||||
EXPOSE 80
|
||||
ENTRYPOINT ["/usr/src/app/run.sh"]
|
||||
|
|
|
@ -8,5 +8,7 @@ RUN cd /usr/src/app && npm install --production
|
|||
VOLUME /data
|
||||
WORKDIR /data
|
||||
|
||||
ENV NODE_ENV="production"
|
||||
|
||||
EXPOSE 80
|
||||
ENTRYPOINT ["node", "/usr/src/app/", "-p", "80"]
|
||||
|
|
Loading…
Reference in a new issue