wynai commited on
Commit
fc561a1
·
verified ·
1 Parent(s): caf313a

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -35
Dockerfile DELETED
@@ -1,35 +0,0 @@
1
- FROM python:3.11-slim
2
-
3
- RUN apt-get update && apt-get install -y git bash && rm -rf /var/lib/apt/lists/*
4
-
5
- # Tạo /app + static + data và cấp quyền
6
- RUN mkdir -p /app/build/static /app/data && chmod -R 777 /app
7
- WORKDIR /app
8
-
9
- COPY icon.png /app/build/static/favicon.png
10
- COPY icon.png /app/build/static/favicon.ico
11
- COPY icon.png /app/build/static/apple-touch-icon.png
12
- COPY icon.png /app/build/static/favicon-96x96.png
13
- COPY icon.png /app/build/static/favicon-dark.png
14
- COPY icon.png /app/build/static/favicon.svg
15
- COPY icon.png /app/build/static/splash-dark.png
16
- COPY icon.png /app/build/static/splash.png
17
- COPY icon.png /app/build/static/web-app-manifest-192x192.png
18
- COPY icon.png /app/build/static/web-app-manifest-512x512.png
19
- COPY custom.css /app/build/static/custom.css
20
-
21
- RUN find /app/build -type f -exec sed -i 's/Open WebUI/WynGPT/g' {} + || true && \
22
- find /app/build -type f -exec sed -i 's/OpenWebUI/WynGPT/g' {} + || true && \
23
- find /app/build -type f -exec sed -i 's/open-webui/wyngpt/g' {} + || true
24
-
25
- COPY requirements.txt /app/requirements.txt
26
- COPY sync_webuidb.sh /app/sync_webuidb.sh
27
- RUN chmod +x /app/sync_webuidb.sh
28
-
29
- RUN pip install --no-cache-dir -r /app/requirements.txt
30
-
31
- ENV HOST=0.0.0.0
32
- ENV PORT=7860
33
- EXPOSE 7860
34
-
35
- CMD ["bash", "-c", "open-webui serve --host $HOST --port $PORT & bash /app/sync_webuidb.sh"]