VelogaWhite commited on
Commit
f5de2a6
·
1 Parent(s): 5a7f939

Use requirements.txt in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -3,7 +3,8 @@ FROM python:3.14-slim
3
  RUN python -m venv /venv
4
  ENV PATH="/venv/bin:$PATH"
5
 
6
- RUN pip install "django<6" gunicorn whitenoise
 
7
 
8
  COPY src /src
9
 
 
3
  RUN python -m venv /venv
4
  ENV PATH="/venv/bin:$PATH"
5
 
6
+ COPY requirements.txt /tmp/requirements.txt
7
+ RUN pip install -r /tmp/requirements.txt
8
 
9
  COPY src /src
10