mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-07 20:10:03 +03:00
@@ -9,7 +9,7 @@ RUN sh ./ffmpeg-fetch.sh
|
|||||||
# Create our Ubuntu 22.04 with node 16
|
# Create our Ubuntu 22.04 with node 16
|
||||||
# Go to 20.04
|
# Go to 20.04
|
||||||
FROM ubuntu:20.04 AS base
|
FROM ubuntu:20.04 AS base
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
ENV UID=1000
|
ENV UID=1000
|
||||||
ENV GID=1000
|
ENV GID=1000
|
||||||
ENV USER=youtube
|
ENV USER=youtube
|
||||||
@@ -18,7 +18,7 @@ ENV PM2_HOME=/app/pm2
|
|||||||
ENV ALLOW_CONFIG_MUTATIONS=true
|
ENV ALLOW_CONFIG_MUTATIONS=true
|
||||||
RUN groupadd -g $GID $USER && useradd --system -m -g $USER --uid $UID $USER && \
|
RUN groupadd -g $GID $USER && useradd --system -m -g $USER --uid $UID $USER && \
|
||||||
apt update && \
|
apt update && \
|
||||||
apt install -y --no-install-recommends curl ca-certificates && \
|
apt install -y --no-install-recommends curl ca-certificates tzdata && \
|
||||||
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
|
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||||
apt install -y --no-install-recommends nodejs && \
|
apt install -y --no-install-recommends nodejs && \
|
||||||
npm -g install npm && \
|
npm -g install npm && \
|
||||||
|
|||||||
Reference in New Issue
Block a user