deepfake-test / Dockerfile
tony133777's picture
Update Dockerfile
3a2474f verified
raw
history blame contribute delete
438 Bytes
FROM python:3.10-slim
# Install system dependencies required for dlib (even with dlib-bin, some might be needed at runtime)
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
libopenblas-dev \
liblapack-dev \
libx11-dev \
libgtk-3-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /code
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "app.py"]