AdvisoryBuilderWorkshop / Dockerfile.backend-dev
NeonClary
Replace single-image compose with hot-reload compose as default; remove docker-compose.dev.yml
924b70f
raw
history blame contribute delete
378 Bytes
# Python API only — source mounted at runtime for uvicorn --reload (see docker-compose.yml)
FROM python:3.12-slim-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app/backend
COPY backend/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
ENV PYTHONPATH=/app/backend
EXPOSE 8000