mirror of
https://github.com/lovasoa/whitebophir
synced 2024-11-10 06:24:17 +00:00
fix dockerfile
This commit is contained in:
parent
87372e4f79
commit
b7e59bcec1
1 changed files with 1 additions and 1 deletions
|
@ -8,6 +8,6 @@ VOLUME /opt/app/server-data
|
|||
RUN touch /usr/bin/start.sh # this is the script which will run on start
|
||||
|
||||
RUN echo 'npm install --production' >> /usr/bin/start.sh
|
||||
RUN echo 'npx forever --minUptime 7000 --spinSleepTime 2000 -o out.log -e err.log ./server/server.js' >> /usr/bin/start.sh
|
||||
RUN echo 'npx forever --minUptime 7000 --spinSleepTime 2000 -o out.log -e err.log /opt/app/server/server.js' >> /usr/bin/start.sh
|
||||
|
||||
CMD ["/bin/sh","/usr/bin/start.sh"]
|
||||
|
|
Loading…
Reference in a new issue