Update Dockerfile
Browse files- 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 -
|
| 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 |
# 设置工作目录
|