API / Dockerfile
ar08's picture
Update Dockerfile
9295ca5 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 mkdir checkpoints
RUN wget -O ./checkpoints/inswapper_128.onnx https://huggingface.co./ashleykleynhans/inswapper/resolve/main/inswapper_128.onnx
RUN pip install torch
RUN pip3 install -r requirements.txt
CMD ["python3","app.py","-H","0.0.0.0","-p","7860"]