Files
Web-on-the-Fly/Containerfile
T
ducoterra 806b21d856
Build and Push Containers / test (push) Successful in 28s
Build and Push Containers / build-and-push (push) Successful in 3m32s
init
2026-07-31 08:16:05 -04:00

16 lines
282 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 ./
EXPOSE 5000
CMD ["uv", "run", "--no-sync", "gunicorn", "app:app", "--bind", "0.0.0.0:5000", "--workers", "2", "--timeout", "300"]