API / Dockerfile
ar08's picture
Update Dockerfile
7451fd1 verified
raw
history blame
378 Bytes
FROM python:3.9.9
RUN apt-get update
RUN apt-get install ffmpeg libsm6 libxext6 -y
WORKDIR /app
COPY . /app/
RUN pip install torch
RUN pip3 install -r requirements.txt
RUN mkdir checkpoints
RUN wget -O ./checkpoints/inswapper_128.onnx https://huggingface.co/ashleykleynhans/inswapper/resolve/main/inswapper_128.onnx
CMD ["python3","app.py","-H","0.0.0.0","-p","7860"]