Spaces:
Sleeping
Sleeping
File size: 516 Bytes
3c58780 a18c92b 171adbf 719d0bf 48f23d7 ba040c6 4125ecd 904f32a 9672c1c fef54e6 1cc5b58 9672c1c 5f83a7a 3dc6918 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
FROM python:3.9
USER root
RUN apt update && apt install -y imagemagick libgl1-mesa-glx
RUN dpkg -L imagemagick
ENV FFMPEG_BINARY=/usr/share/doc/imagemagick
# RUN apt upgrade -y
RUN pip install -U pip
# #RUN pip install -U pyyaml
# RUN pip install -U runway-python
# #runway --force-reinstall
# #RUN pip install -U tensorflow
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 7860
#compo-singleone-v1-dev-acc.py
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"] |