msys2-web/Dockerfile
Christoph Reiter 0236e6e067 Update deps
2025-06-28 21:01:40 +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.3"
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