Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
|
@@ -4,10 +4,10 @@ FROM ghcr.io/open-webui/open-webui:main
|
|
| 4 |
RUN apt-get update && apt-get install -y python3 python3-pip
|
| 5 |
RUN pip3 install --no-cache-dir huggingface_hub
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
| 4 |
RUN apt-get update && apt-get install -y python3 python3-pip
|
| 5 |
RUN pip3 install --no-cache-dir huggingface_hub
|
| 6 |
|
| 7 |
+
COPY sync_data.sh sync_data.sh
|
| 8 |
|
| 9 |
|
| 10 |
+
RUN chmod -R 777 ./data && \
|
| 11 |
+
chmod -R 777 /app/backend/open_webui/static && \
|
| 12 |
+
chmod +x sync_data.sh && \
|
| 13 |
+
sed -i "1r sync_data.sh" ./start.sh
|