ncoria commited on
Commit
ba417ce
·
verified ·
1 Parent(s): c50855e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -2,7 +2,7 @@ FROM python:3.10
2
 
3
  WORKDIR /app
4
 
5
- COPY ./pyproject.toml /app/pyproject.toml
6
  COPY ./packages.txt /app/packages.txt
7
  COPY ./apply_model.py /app/apply_model.py
8
  COPY ./explore.py /app/explore.py
@@ -16,7 +16,7 @@ COPY ./utils /app/utils
16
  RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
17
  RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
18
  RUN pip install --upgrade pip
19
- RUN pip3 install --no-cache-dir -e .
20
 
21
  # User
22
  RUN useradd -m -u 1000 user
 
2
 
3
  WORKDIR /app
4
 
5
+ COPY ./requirements.txt /app/requirements.txt
6
  COPY ./packages.txt /app/packages.txt
7
  COPY ./apply_model.py /app/apply_model.py
8
  COPY ./explore.py /app/explore.py
 
16
  RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
17
  RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
18
  RUN pip install --upgrade pip
19
+ RUN pip3 install --no-cache-dir -r /app/requirements.txt
20
 
21
  # User
22
  RUN useradd -m -u 1000 user