DeepFake / Dockerfile
Urvikava's picture
Upload 11 files
dbbbc4b verified
raw
history blame contribute delete
332 Bytes
FROM python:3.10-slim
WORKDIR /app
# system deps
RUN apt-get update && apt-get install -y \
libgl1 \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["uvicorn", "Fastapi.main:app", "--host", "0.0.0.0", "--port", "7860"]