Move waifu2x model step to right position
This commit is contained in:
parent
a3083f9da5
commit
f3a9fadbe9
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue