Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -4
Dockerfile
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
-
FROM ghcr.io/
|
| 2 |
|
| 3 |
-
COPY sync_data.sh sync_data.sh
|
|
|
|
| 4 |
|
| 5 |
-
RUN
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ghcr.io/ovinc-cn/openwebui:v0.6.26.1
|
| 2 |
|
| 3 |
+
COPY sync_data.sh sync_data.sh
|
| 4 |
+
#COPY vocechat_widget.html /tmp/vocechat_widget.html
|
| 5 |
|
| 6 |
+
RUN \
|
| 7 |
+
# sed -i '/<\/body>/r /tmp/vocechat_widget.html' /app/build/index.html && \
|
| 8 |
+
chmod -R 777 ./data && \
|
| 9 |
+
chmod -R 777 ./open_webui && \
|
| 10 |
+
sed -i "1r sync_data.sh" ./start.sh
|