mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-21 08:53:21 +03:00
Update Dockerfile
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -8,7 +8,7 @@ RUN sh ./docker-build.sh
|
|||||||
FROM ubuntu:20.04 as frontend
|
FROM ubuntu:20.04 as frontend
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update && apt-get --no-install-recommends -y install \
|
RUN apt-get update && apt-get -y install \
|
||||||
wget \
|
wget \
|
||||||
curl \
|
curl \
|
||||||
gnupg && \
|
gnupg && \
|
||||||
@@ -43,15 +43,15 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN groupadd -g $GID $USER && useradd --system -g $USER --uid $UID $USER
|
RUN groupadd -g $GID $USER && useradd --system -g $USER --uid $UID $USER
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||||
RUN apt-get update && apt-get --no-install-recommends -y install \
|
RUN apt-get update && apt-get -y install \
|
||||||
npm \
|
npm \
|
||||||
python2 \
|
python2 \
|
||||||
python3 \
|
python3 \
|
||||||
atomicparsley && \
|
atomicparsley && \
|
||||||
apt-get install -f && \
|
apt-get install -f && \
|
||||||
apt autoremove --purge && \
|
apt-get autoremove --purge && \
|
||||||
apt autoremove && \
|
apt-get autoremove && \
|
||||||
apt clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt
|
rm -rf /var/lib/apt
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
Reference in New Issue
Block a user