seanpedrickcase commited on
Commit
2986659
·
1 Parent(s): 4564f23

Turned around Docker install commands

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -15,11 +15,11 @@ WORKDIR /src
15
  COPY requirements_aws.txt .
16
 
17
  RUN pip uninstall -y typing_extensions \
18
- && pip install typing_extensions==4.12.2 --no-cache-dir --target=/install \
19
- && pip install torch==2.5.1+cpu --target=/install --index-url https://download.pytorch.org/whl/cpu --no_cache_dir \
20
- && pip install sentence-transformers==3.3.1 --no-cache-dir --target=/install --no-deps \
21
- && pip install -r requirements_aws.txt --no-cache-dir --target=/install \
22
- && pip install gradio==5.6.0 --no-cache-dir --target=/install
23
 
24
  # Add /install to the PYTHONPATH
25
  ENV PYTHONPATH="/install:${PYTHONPATH}"
 
15
  COPY requirements_aws.txt .
16
 
17
  RUN pip uninstall -y typing_extensions \
18
+ && pip install --no-cache-dir --target=/install typing_extensions==4.12.2 \
19
+ && pip install torch==2.5.1+cpu --target=/install --index-url https://download.pytorch.org/whl/cpu \
20
+ && pip install --no-cache-dir --target=/install sentence-transformers==3.3.1 --no-deps \
21
+ && pip install --no-cache-dir --target=/install -r requirements_aws.txt \
22
+ && pip install --no-cache-dir --target=/install gradio==5.6.0
23
 
24
  # Add /install to the PYTHONPATH
25
  ENV PYTHONPATH="/install:${PYTHONPATH}"