Commit 73749b2c authored by nanahira's avatar nanahira

fix

parent 8ff25d22
Pipeline #2920 failed with stages
in 1 minute and 28 seconds
......@@ -19,7 +19,7 @@ RUN apt update && \
echo "Asia/Shanghai" > /etc/timezone && \
npm -g install pm2 && \
ln -s /dev/stdout /var/log/cron.log && \
echo '*/5 * * * * /usr/local/bin/pm2 restart maotama-server' > /etc/cron.d/restart-maotama && \
echo '0 3 * * * /usr/local/bin/pm2 restart maotama-server' > /etc/cron.d/restart-maotama && \
crontab /etc/cron.d/restart-maotama
COPY ./entrypoint.sh /data/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment