Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -5,15 +5,15 @@ RUN apt-get update
|
|
5 |
RUN apt-get install ffmpeg libsm6 libxext6 -y
|
6 |
|
7 |
|
8 |
-
RUN apt-get install -y git git-lfs
|
9 |
|
10 |
WORKDIR /app
|
11 |
|
12 |
COPY . /app/
|
13 |
|
|
|
|
|
14 |
|
15 |
-
RUN git lfs install
|
16 |
|
17 |
RUN pip3 install -r requirements.txt
|
18 |
|
19 |
-
CMD ["python3","app.py","-H","0.0.0.0","-p","
|
|
|
5 |
RUN apt-get install ffmpeg libsm6 libxext6 -y
|
6 |
|
7 |
|
|
|
8 |
|
9 |
WORKDIR /app
|
10 |
|
11 |
COPY . /app/
|
12 |
|
13 |
+
RUN mkdir checkpoints
|
14 |
+
RUN wget -O ./checkpoints/inswapper_128.onnx https://huggingface.co/ashleykleynhans/inswapper/resolve/main/inswapper_128.onnx
|
15 |
|
|
|
16 |
|
17 |
RUN pip3 install -r requirements.txt
|
18 |
|
19 |
+
CMD ["python3","app.py","-H","0.0.0.0","-p","7860"]
|