16 lines
410 B
Docker
16 lines
410 B
Docker
FROM python:3.11-slim
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip install --no-cache-dir uv
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN uv pip install --system --no-cache -r requirements.txt
|
|
|
|
# Copy code into image (k8s uses this, docker-compose volume-mounts over it)
|
|
COPY . .
|
|
|
|
CMD ["python", "admin/manage.py", "runserver", "0.0.0.0:8000"]
|