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