Files
contexta_be/Dockerfile
2026-04-06 22:32:29 +00:00

18 lines
322 B
Docker

FROM python:3.12-alpine
WORKDIR /app
# Install system dependencies
RUN apk add --no-cache gcc musl-dev python3-dev
# Install uv via pip (since it's not an Alpine package)
RUN pip install uv
COPY pyproject.toml .
RUN uv init
COPY . .
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]