Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -39,6 +39,12 @@ RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co
|
|
39 |
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/camenduru/ProPainter/resolve/main/recurrent_flow_completion.pth -d $HOME/app/weights -o recurrent_flow_completion.pth
|
40 |
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/camenduru/ProPainter/resolve/main/ProPainter.pth -d $HOME/app/weights -o ProPainter.pth
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
COPY app.py .
|
43 |
|
44 |
RUN find $HOME/app
|
|
|
39 |
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/camenduru/ProPainter/resolve/main/recurrent_flow_completion.pth -d $HOME/app/weights -o recurrent_flow_completion.pth
|
40 |
RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/camenduru/ProPainter/resolve/main/ProPainter.pth -d $HOME/app/weights -o ProPainter.pth
|
41 |
|
42 |
+
# Create a directory in the container using the environment variable
|
43 |
+
RUN mkdir -p $HOME/app/hf-examples
|
44 |
+
|
45 |
+
# Copy the entire "hf-examples" folder and its contents from the same directory as the Dockerfile to the container directory
|
46 |
+
COPY hf-examples $HOME/app/hf-examples/
|
47 |
+
|
48 |
COPY app.py .
|
49 |
|
50 |
RUN find $HOME/app
|