devin15 commited on
Commit
8af1fcc
·
verified ·
1 Parent(s): bf2d5ac

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -215,7 +215,7 @@ RUN echo '#!/bin/sh' > /start.sh && \
215
  # echo 'exec gosu root nginx -g "daemon off;"' >> /start.sh && \ # hf不允许提权
216
  echo 'exec java -jar /app/app.jar > /app/app-run.log 2>&1 & ' >> /start.sh && \
217
  echo 'exec nginx -g "daemon on;" &' >> /start.sh && \
218
- echo 'exec tail -1000f /app/app-run.log' >> /start.sh && \
219
  chmod +x /start.sh
220
 
221
  # 设置工作目录
 
215
  # echo 'exec gosu root nginx -g "daemon off;"' >> /start.sh && \ # hf不允许提权
216
  echo 'exec java -jar /app/app.jar > /app/app-run.log 2>&1 & ' >> /start.sh && \
217
  echo 'exec nginx -g "daemon on;" &' >> /start.sh && \
218
+ echo 'exec tail -n 1000 -f /app/app-run.log' >> /start.sh && \
219
  chmod +x /start.sh
220
 
221
  # 设置工作目录