# syntax=docker/dockerfile:1
# Generated by `skaal build`. Do not edit manually.
FROM python:3.11-slim

ENV PYTHONUNBUFFERED=1
ENV PORT=8080

WORKDIR /app

RUN pip install --no-cache-dir uv

# Copy all artifact files into the image.
COPY . .

# Install runtime dependencies.
RUN --mount=type=cache,target=/root/.cache/uv \
    uv sync --no-dev

ENV PYTHONPATH=/app
EXPOSE 8080

# Startup: ASGI apps use "python main.py" (uvicorn inside); WSGI apps use gunicorn.
CMD uv run $cmd_args
