diff --git a/Dockerfile b/Dockerfile index 23e82fc..1d03a23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -100,6 +100,9 @@ RUN apt-get -y install \ x264 \ x265 +# models are at wrong location (whyever the package installs it there) +RUN cp -r /usr/share/vapoursynth-waifu2x-models/ /usr/lib/x86_64-linux-gnu/vapoursynth/models/ + RUN pip3 --no-cache-dir install \ matplotlib \ tqdm \ @@ -132,9 +135,6 @@ RUN git clone --depth=1 https://github.com/Infiziert90/getnative /usr/local/lib/ && echo "#!/bin/sh\npython3 /usr/local/lib/vapoursynth-scripts/getnative/getnative.py \$@" >> /usr/local/bin/getnative \ && chmod +x /usr/local/bin/getnative -# models are at wrong location (whyever the package installs it there) -RUN cp -r /usr/share/vapoursynth-waifu2x-models/ /usr/lib/x86_64-linux-gnu/vapoursynth/models/ - RUN adduser --disabled-password --gecos '' vapoursynth USER vapoursynth