NotebookMg / Dockerfile
TheM1N9
remove ffmpeg installation from Dockerfile and add ffmpeg-python to requirements
02b7ad4
raw
history blame contribute delete
305 Bytes
FROM python:3.9
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . /code
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]