Spaces:
Runtime error
Runtime error
File size: 443 Bytes
453cbf5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
FROM python:3.8
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/
RUN mkdir -p /usr/local/var/log
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|