From 5431db262e1f80fd90c14c362344759d3a749895 Mon Sep 17 00:00:00 2001 From: John Breslin Date: Wed, 13 Oct 2021 17:03:22 +0100 Subject: [PATCH] Remove ffmpeg / no-check-certificate This suffers from the same issue that the jupyter / colab version does with the known ffmpeg problem - so I needed to remove the ffmpeg line, else it gives that ffmpeg.input error when running the docker container for video Also added --no-check-certificate as the deepai https certificates are showing as expired (for me at least) --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index bc52628..5993368 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,6 @@ RUN pip install --upgrade pip \ numpy==1.16 \ scikit-image==0.15.0 \ requests==2.21.0 \ - ffmpeg==1.4 \ ffmpeg-python==0.1.17 \ youtube-dl>=2019.4.17 \ jupyterlab==1.2.4 \ @@ -40,8 +39,8 @@ ADD . /data/ WORKDIR /data # force download of file if not provided by local cache -RUN [[ ! -f /data/models/ColorizeArtistic_gen.pth ]] && wget -O /data/models/ColorizeArtistic_gen.pth https://data.deepai.org/deoldify/ColorizeArtistic_gen.pth -RUN [[ ! -f /data/models/ColorizeVideo_gen.pth ]] && wget -O /data/models/ColorizeVideo_gen.pth https://data.deepai.org/deoldify/ColorizeVideo_gen.pth +RUN [[ ! -f /data/models/ColorizeArtistic_gen.pth ]] && wget --no-check-certificate -O /data/models/ColorizeArtistic_gen.pth https://data.deepai.org/deoldify/ColorizeArtistic_gen.pth +RUN [[ ! -f /data/models/ColorizeVideo_gen.pth ]] && wget --no-check-certificate -O /data/models/ColorizeVideo_gen.pth https://data.deepai.org/deoldify/ColorizeVideo_gen.pth COPY run_notebook.sh /usr/local/bin/run_notebook COPY run_image_api.sh /usr/local/bin/run_image_api