container, podman pod

This commit is contained in:
2024-01-28 01:20:50 +01:00
parent bfca1d2e1f
commit fb968853b5
6 changed files with 43 additions and 5 deletions

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
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"]