facial_analysis / Dockerfile
drrobot9's picture
initial commit
ffdaad9 verified
raw
history blame contribute delete
297 Bytes
# Dockerfile
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 \
&& pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]