Graduation / Dockerfile
Mohammedallyl's picture
Update Dockerfile
0559bc8 verified
raw
history blame
288 Bytes
FROM python:3.11
WORKDIR /code
COPY ./requirements.txt /code/requirments.txt
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
RUN pip install --no-cache-dir --upgrade -r /code/requirments.txt
COPY . .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]