Files
Web-on-the-Fly/Containerfile
T
ducoterra cd480430b3
Build and Push Containers / test (push) Successful in 9s
Build and Push Containers / build-and-push (push) Successful in 18s
add queue system
2026-08-01 21:42:38 -04:00

17 lines
269 B
Docker

FROM python:3.13-slim
RUN pip install --no-cache-dir uv
WORKDIR /app
COPY pyproject.toml uv.lock ./
RUN uv sync --frozen --no-dev
COPY app.py ./
COPY gunicorn.conf.py ./
EXPOSE 5000
CMD ["uv", "run", "--no-sync", "gunicorn", "-c", "gunicorn.conf.py", "app:app"]