Alex0007's picture
fix permission denied
b0fd155
raw
history blame contribute delete
501 Bytes
FROM python:3.8
ENV MODELSCOPE_CACHE /tmp/modelscope
ENV MODELSCOPE_MODULES_CACHE /tmp/modelscope_modules
RUN apt-get update -y
RUN apt-get install ffmpeg -y
RUN apt-get install vim -y
RUN apt-get update -y
RUN apt-get install fonts-noto-cjk fonts-noto-color-emoji
RUN pip install --upgrade pip
WORKDIR /app
ADD ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
ADD ./ /app/
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]