File size: 923 Bytes
97cc705
 
 
95e3559
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97cc705
 
 
 
 
3a1087b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM ghcr.io/open-webui/open-webui:main

RUN chmod -R 777 /app

COPY icon.png /app/build/static/favicon.png
COPY icon.png /app/build/static/favicon.ico
COPY icon.png /app/build/static/apple-touch-icon.png
COPY icon.png /app/build/static/favicon-96x96.png
COPY icon.png /app/build/static/favicon-dark.png
COPY icon.png /app/build/static/favicon.svg
COPY icon.png /app/build/static/splash-dark.png
COPY icon.png /app/build/static/splash.png
COPY icon.png /app/build/static/web-app-manifest-192x192.png
COPY icon.png /app/build/static/web-app-manifest-512x512.png
COPY custom.css /app/build/static/custom.css

RUN find /app/build -type f -exec sed -i 's/Open WebUI/WynGPT/g' {} + || true && \
    find /app/build -type f -exec sed -i 's/OpenWebUI/WynGPT/g' {} + || true && \
    find /app/build -type f -exec sed -i 's/open-webui/wyngpt/g' {} + || true

ENV HOST=0.0.0.0
ENV PORT=7860

EXPOSE 7860

CMD bash -c "bash start.sh"