LAP-DEV commited on
Commit
f3d62e0
·
verified ·
1 Parent(s): 39564da

Upload 3 files

Browse files
Files changed (3) hide show
  1. Dockerfile +2 -2
  2. Install.sh +1 -2
  3. requirements.txt +0 -1
Dockerfile CHANGED
@@ -11,8 +11,8 @@ COPY requirements.txt .
11
 
12
  RUN python3 -m venv venv && \
13
  . venv/bin/activate && \
14
- pip install --no-cache-dir -U wheel && \
15
- pip install --no-build-isolation --no-cache-dir -U -r requirements.txt
16
 
17
  FROM debian:bookworm-slim AS runtime
18
 
 
11
 
12
  RUN python3 -m venv venv && \
13
  . venv/bin/activate && \
14
+ pip install -U -r requirements.txt
15
+
16
 
17
  FROM debian:bookworm-slim AS runtime
18
 
Install.sh CHANGED
@@ -7,8 +7,7 @@ fi
7
 
8
  source venv/bin/activate
9
 
10
- python -m pip install -U pip wheel
11
- pip install --no-build-isolation -r requirements.txt && echo "Requirements installed successfully." || {
12
  echo ""
13
  echo "Requirements installation failed. Please remove the venv folder and run the script again."
14
  deactivate
 
7
 
8
  source venv/bin/activate
9
 
10
+ pip install -r requirements.txt && echo "Requirements installed successfully." || {
 
11
  echo ""
12
  echo "Requirements installation failed. Please remove the venv folder and run the script again."
13
  deactivate
requirements.txt CHANGED
@@ -4,7 +4,6 @@
4
  # For CUDA 12.4, use : https://download.pytorch.org/whl/cu124
5
  --extra-index-url https://download.pytorch.org/whl/cu121
6
 
7
- setuptools==81.0.0
8
  gradio==5.49.1
9
  pytubefix
10
  transformers
 
4
  # For CUDA 12.4, use : https://download.pytorch.org/whl/cu124
5
  --extra-index-url https://download.pytorch.org/whl/cu121
6
 
 
7
  gradio==5.49.1
8
  pytubefix
9
  transformers