Move waifu2x model step to right position
parent
a3083f9da5
commit
f3a9fadbe9
|
@ -100,6 +100,9 @@ RUN apt-get -y install \
|
||||||
x264 \
|
x264 \
|
||||||
x265
|
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 \
|
RUN pip3 --no-cache-dir install \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
tqdm \
|
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 \
|
&& echo "#!/bin/sh\npython3 /usr/local/lib/vapoursynth-scripts/getnative/getnative.py \$@" >> /usr/local/bin/getnative \
|
||||||
&& chmod +x /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
|
RUN adduser --disabled-password --gecos '' vapoursynth
|
||||||
USER vapoursynth
|
USER vapoursynth
|
||||||
|
|
||||||
|
|
Reference in New Issue