Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -11,5 +11,5 @@ RUN pip install flask
|
|
11 |
|
12 |
# 修改启动脚本,添加 FLASK 服务器
|
13 |
RUN chmod -R 777 ./data && \
|
14 |
-
|
15 |
-
|
|
|
11 |
|
12 |
# 修改启动脚本,添加 FLASK 服务器
|
13 |
RUN chmod -R 777 ./data && \
|
14 |
+
echo "python3 server.py &" >> ./start.sh
|
15 |
+
sed -i "1r sync_data.sh" ./start.sh && \
|