AdvisoryBuilderWorkshop / Dockerfile.backend-dev
NeonClary's picture
Deploy tutorial feature and recent fixes
d8808e7 verified
Raw
History Blame Contribute Delete
387 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