Spaces:
Sleeping
Sleeping
Revert "chore(hf): add run-log probe markers and stderr heartbeat"
Browse filesThis reverts commit 100c4b9a4b67b24e97a5a912bfef92f0d6edbbb8.
- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -35,8 +35,8 @@ RUN npm install && npm --prefix frontend install
|
|
| 35 |
COPY . .
|
| 36 |
RUN npm run build
|
| 37 |
|
| 38 |
-
# 7. 启动脚本
|
| 39 |
-
RUN printf '#!/bin/bash\
|
| 40 |
|
| 41 |
ENV PORT=7860
|
| 42 |
EXPOSE 7860
|
|
|
|
| 35 |
COPY . .
|
| 36 |
RUN npm run build
|
| 37 |
|
| 38 |
+
# 7. 启动脚本
|
| 39 |
+
RUN printf '#!/bin/bash\nredis-server --daemonize yes\nnpm run start' > /app/start.sh && chmod +x /app/start.sh
|
| 40 |
|
| 41 |
ENV PORT=7860
|
| 42 |
EXPOSE 7860
|