youtubedl: Add dependencies and tweaks...
This commit is contained in:
parent
8efd82d620
commit
ef6f5d69b2
|
@ -66,9 +66,14 @@ RUN \
|
||||||
nodejs \
|
nodejs \
|
||||||
npm \
|
npm \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
|
youtube-dl \
|
||||||
|
unzip \
|
||||||
python \
|
python \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
atomicparsley \
|
atomicparsley \
|
||||||
|
&& mkdir /app/appdata || echo ""
|
||||||
|
&& mkdir /config/appdata || echo ""
|
||||||
|
&& ln -s /app/appdata /config/appdata
|
||||||
&& echo "==Installing youtubedl-material==" \
|
&& echo "==Installing youtubedl-material==" \
|
||||||
&& npm install \
|
&& npm install \
|
||||||
&& printf "UpdateMethod=docker\nPackageVersion=%s\nPackageAuthor=[TrueCharts Project](https://truecharts.org)" "${VERSION}" > /app/package_info \
|
&& printf "UpdateMethod=docker\nPackageVersion=%s\nPackageAuthor=[TrueCharts Project](https://truecharts.org)" "${VERSION}" > /app/package_info \
|
||||||
|
@ -88,13 +93,13 @@ RUN \
|
||||||
&& chmod -R u=rwX,go=rX /app \
|
&& chmod -R u=rwX,go=rX /app \
|
||||||
&& printf "umask %d" "${UMASK}" >> /etc/bash.bashrc \
|
&& printf "umask %d" "${UMASK}" >> /etc/bash.bashrc \
|
||||||
&& update-ca-certificates \
|
&& update-ca-certificates \
|
||||||
&& chown -R apps:apps /app
|
&& chown -R apps:apps /app \
|
||||||
|
&& chown -R apps:apps /config
|
||||||
|
|
||||||
COPY --chown=apps:apps --from=builder [ "/extract/build/backend/public/", "/app/public/" ]
|
COPY --chown=apps:apps --from=builder [ "/extract/build/backend/public/", "/app/public/" ]
|
||||||
COPY --chown=apps:apps --from=builder [ "/extract/backend/", "/app/" ]
|
COPY --chown=apps:apps --from=builder [ "/extract/backend/", "/app/" ]
|
||||||
|
|
||||||
USER apps
|
USER apps
|
||||||
VOLUME /data/appdata
|
|
||||||
|
|
||||||
EXPOSE 17442
|
EXPOSE 17442
|
||||||
COPY ./.containers/apps/youtubedl/entrypoint.sh /entrypoint.sh
|
COPY ./.containers/apps/youtubedl/entrypoint.sh /entrypoint.sh
|
||||||
|
|
Loading…
Reference in New Issue