face-recognition / Dockerfile
mkManishKumar's picture
Update Dockerfile
15d84d5 verified
raw
history blame
286 Bytes
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt ./requirements.txt
RUN apt-get update
# Install uvicorn
RUN pip install uvicorn
# Install dependencies
RUN pip install -r requirements.txt
COPY . /app
ENTRYPOINT ["uvicorn", "main:app"]
CMD ["--host", "0.0.0.0", "--port", "7860"]