wenjiao's picture
Update Dockerfile
cf9bf8d verified
FROM python:3.10-slim
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app
RUN apt-get update && apt-get install -y \
git git-lfs ffmpeg libsm6 libxext6 libgl1 \
&& rm -rf /var/lib/apt/lists/* \
&& git lfs install
RUN pip install --no-cache-dir -U pip setuptools wheel
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "app.py"]