rogerxavier's picture
Update Dockerfile
5f0c24c verified
raw
history blame
814 Bytes
# # FROM python:3.9
# FROM ampervue/ffmpeg
# RUN apt update && apt install -y libgl1-mesa-glx
# ENV IMAGEMAGICK_BINARY=convert
# # 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"]
FROM ampervue/ffmpeg
ENV IMAGEMAGICK_BINARY=convert
# RUN apt upgrade -y
RUN pip install -U pip
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"]