SanjayKumartheBuilder's picture
Create Dockerfile
28cd17c verified
FROM python:3.11-slim
# Install system deps
RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 curl && rm -rf /var/lib/apt/lists/*
# Copy and install Python deps
WORKDIR /home/user/app
COPY requirements.txt .
RUN pip install --no-cache-dir -U pip setuptools wheel
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
# Entrypoint
CMD ["python", "app.py"]