Site / Dockerfile
Singhp08's picture
Update Dockerfile
c3ec9d6 verified
Raw
History Blame Contribute Delete
457 Bytes
FROM python:3.10
WORKDIR /app
RUN apt-get update && apt-get install -y \
git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1 curl \
&& rm -rf /var/lib/apt/lists/*
# ✅ Pehle sirf requirements copy karo
COPY requirements.txt .
RUN pip install --upgrade pip==23.3.1
RUN pip install --no-cache-dir "protobuf<4" "click<8.1"
RUN pip install --no-cache-dir -r requirements.txt
# ✅ Baaki code baad mein copy karo
COPY . .
CMD ["python", "app.py"]