Move waifu2x model step to right position

This commit is contained in:
Simon Bruder 2020-05-15 17:42:35 +02:00
parent a3083f9da5
commit f3a9fadbe9
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -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