Files
insightflow/Dockerfile
2026-02-17 18:17:26 +08:00

26 lines
455 B
Docker

FROM python:3.11-slim
WORKDIR /app
# Install uv
RUN pip install uv
# Install system deps
RUN apt-get update && apt-get install -y \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
# Copy project files
COPY backend/pyproject.toml backend/requirements.txt ./
# Install dependencies using uv
RUN uv pip install --system -r requirements.txt
# Copy code
COPY backend/ ./backend/
COPY frontend/ ./frontend/
EXPOSE 8000
CMD ["python", "backend/main.py"]