20 lines
227 B
Docker
20 lines
227 B
Docker
|
FROM python:bookworm
|
||
|
|
||
|
COPY requirements.txt /
|
||
|
|
||
|
RUN pip3 install --upgrade pip
|
||
|
|
||
|
RUN pip3 install -r /requirements.txt
|
||
|
|
||
|
|
||
|
|
||
|
COPY ./src /app
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
|
||
|
|
||
|
EXPOSE 8080
|
||
|
|
||
|
CMD ["gunicorn","--config", "gunicorn_config.py", "app:app"]
|