Files

20 lines
397 B
Docker
Raw Permalink Normal View History

2026-06-10 08:20:27 +02:00
FROM python:3.11-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY pyproject.toml ./
RUN pip install --upgrade pip && pip install -e .
COPY app/ ./app/
COPY frontend/ ./frontend/
COPY main.py ./
COPY migrations/ ./migrations/
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]