devin15 commited on
Commit
68303f8
·
verified ·
1 Parent(s): 17f5cea

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -177,7 +177,7 @@ RUN echo '#!/bin/sh' > /start.sh && \
177
  echo 'nginx -t' >> /start.sh && \
178
  echo 'echo ""' >> /start.sh && \
179
  echo 'echo "Starting nginx on port 7860..."' >> /start.sh && \
180
- echo 'nginx -g "daemon off;"' >> /start.sh && \
181
  chmod +x /start.sh
182
 
183
  # 设置工作目录
 
177
  echo 'nginx -t' >> /start.sh && \
178
  echo 'echo ""' >> /start.sh && \
179
  echo 'echo "Starting nginx on port 7860..."' >> /start.sh && \
180
+ echo 'exec nginx -g "daemon off;"' >> /start.sh && \
181
  chmod +x /start.sh
182
 
183
  # 设置工作目录