Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 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 && \
|
|
|
|
| 1 |
FROM ghcr.io/open-webui/open-webui:dev
|
| 2 |
+
ENV HF_ENDPOINT=https://hf-mirror.com/
|
| 3 |
+
# 不推荐在 Dockerfile 中直接修改 /etc/hosts 文件
|
| 4 |
+
RUN echo "host.docker.internal:host-gateway" >> /etc/hosts
|
| 5 |
COPY sync_data.sh sync_data.sh
|
| 6 |
|
| 7 |
RUN chmod -R 777 ./data && \
|