wynai commited on
Commit
be4f115
·
verified ·
1 Parent(s): 3957b90

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -2,11 +2,12 @@ FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
 
 
5
  COPY sync_webuidb.sh /app/sync_webuidb.sh
6
 
7
  RUN apt-get update && apt-get install -y build-essential git curl \
8
  && rm -rf /var/lib/apt/lists/* \
9
- && pip install --no-cache-dir open-webui \
10
  && chmod +x /app/sync_webuidb.sh \
11
  && chmod -R 777 /app
12
 
 
2
 
3
  WORKDIR /app
4
 
5
+ COPY requirements.txt /app/requirements.txt
6
  COPY sync_webuidb.sh /app/sync_webuidb.sh
7
 
8
  RUN apt-get update && apt-get install -y build-essential git curl \
9
  && rm -rf /var/lib/apt/lists/* \
10
+ && pip install --no-cache-dir -r requirements.txt \
11
  && chmod +x /app/sync_webuidb.sh \
12
  && chmod -R 777 /app
13