msys2-web/Dockerfile
Christoph Reiter d4fd39ab1b Update deps
2025-08-29 13:56:38 +02:00

17 lines
468 B
Docker

FROM python:3.13-slim-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends \
media-types \
&& rm -rf /var/lib/apt/lists/*
RUN python -m pip install "poetry==2.1.4"
COPY . /app
WORKDIR /app
RUN poetry config virtualenvs.in-project true
RUN poetry install --only main
ENTRYPOINT ["poetry", "run", "gunicorn", "-k", "uvicorn_worker.UvicornWorker", "--access-logfile", "-", "--bind", "0.0.0.0:80", "--timeout", "60", "app:app"]
EXPOSE 80