Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -13
Dockerfile
CHANGED
|
@@ -1,15 +1,6 @@
|
|
| 1 |
-
FROM ghcr.io/open-webui/open-webui:dev
|
| 2 |
|
| 3 |
-
|
| 4 |
-
COPY sync_data.sh sync_data.sh
|
| 5 |
-
COPY sync_now.sh sync_now.sh
|
| 6 |
-
RUN chmod +x sync_now.sh sync_data.sh
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
RUN pip install flask
|
| 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 && \
|
|
|
|
| 1 |
+
FROM ghcr.io/open-webui/open-webui:dev
|
| 2 |
|
| 3 |
+
COPY sync_data.sh sync_data.sh
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
RUN chmod -R 777 ./data && \
|
| 6 |
+
sed -i "1r sync_data.sh" ./start.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|