demo_obsei / Dockerfile
kltn20133118's picture
Update Dockerfile
a0c1bd3 verified
raw
history blame
407 Bytes
FROM python:3.11
WORKDIR /code
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
RUN apt-get update && apt-get install -y poppler-utils
RUN mkdir -p /code
USER root
RUN chmod -R 777 /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]