Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -23
Dockerfile
CHANGED
|
@@ -1,31 +1,9 @@
|
|
| 1 |
FROM ghcr.io/open-webui/open-webui:main
|
| 2 |
|
| 3 |
RUN chmod -R 777 /app
|
| 4 |
-
|
| 5 |
-
COPY icon.png /app/build/static/favicon.png
|
| 6 |
-
COPY icon.png /app/build/static/favicon.ico
|
| 7 |
-
COPY icon.png /app/build/static/apple-touch-icon.png
|
| 8 |
-
COPY icon.png /app/build/static/favicon-96x96.png
|
| 9 |
-
COPY icon.png /app/build/static/favicon-dark.png
|
| 10 |
-
COPY icon.png /app/build/static/favicon.svg
|
| 11 |
-
COPY icon.png /app/build/static/splash-dark.png
|
| 12 |
-
COPY icon.png /app/build/static/splash.png
|
| 13 |
-
COPY icon.png /app/build/static/web-app-manifest-192x192.png
|
| 14 |
-
COPY icon.png /app/build/static/web-app-manifest-512x512.png
|
| 15 |
-
COPY custom.css /app/build/static/custom.css
|
| 16 |
-
|
| 17 |
-
RUN find /app/build -type f -exec sed -i 's/Open WebUI/WynGPT/g' {} + || true && \
|
| 18 |
-
find /app/build -type f -exec sed -i 's/OpenWebUI/WynGPT/g' {} + || true && \
|
| 19 |
-
find /app/build -type f -exec sed -i 's/open-webui/wyngpt/g' {} + || true
|
| 20 |
-
|
| 21 |
-
COPY requirements.txt /app/requirements.txt
|
| 22 |
-
COPY sync_webuidb.sh /app/sync_webuidb.sh
|
| 23 |
-
|
| 24 |
-
RUN chmod +x /app/sync_webuidb.sh && pip install -r /app/requirements.txt
|
| 25 |
-
|
| 26 |
ENV HOST=0.0.0.0
|
| 27 |
ENV PORT=7860
|
| 28 |
|
| 29 |
EXPOSE 7860
|
| 30 |
|
| 31 |
-
CMD bash -c "bash start.sh
|
|
|
|
| 1 |
FROM ghcr.io/open-webui/open-webui:main
|
| 2 |
|
| 3 |
RUN chmod -R 777 /app
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
ENV HOST=0.0.0.0
|
| 5 |
ENV PORT=7860
|
| 6 |
|
| 7 |
EXPOSE 7860
|
| 8 |
|
| 9 |
+
CMD bash -c "bash start.sh"
|