Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -1,5 +1,11 @@
|
|
1 |
FROM ghcr.io/open-webui/open-webui:main
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
# 复制自定义文件
|
4 |
COPY custom.css /app/build/assets/
|
5 |
COPY custom.js /app/build/assets/
|
|
|
1 |
FROM ghcr.io/open-webui/open-webui:main
|
2 |
|
3 |
+
# 安装Python依赖
|
4 |
+
RUN apt-get update && apt-get install -y python3 python3-pip --no-install-recommends && \
|
5 |
+
pip3 install --no-cache-dir huggingface_hub && \
|
6 |
+
apt-get clean && \
|
7 |
+
rm -rf /var/lib/apt/lists/*
|
8 |
+
|
9 |
# 复制自定义文件
|
10 |
COPY custom.css /app/build/assets/
|
11 |
COPY custom.js /app/build/assets/
|