From f3a9fadbe9bc865110bab8cca8a6259f90e06f2c Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 15 May 2020 17:42:35 +0200 Subject: [PATCH] Move waifu2x model step to right position --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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