mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-11 13:21:29 +03:00
also correctly create user home
This commit is contained in:
committed by
GitHub
parent
2678215e08
commit
d6f5b87d3f
@@ -25,7 +25,7 @@ ENV GID=1000
|
|||||||
ENV USER=youtube
|
ENV USER=youtube
|
||||||
ENV NO_UPDATE_NOTIFIER=true
|
ENV NO_UPDATE_NOTIFIER=true
|
||||||
ENV PM2_HOME=/app/pm2
|
ENV PM2_HOME=/app/pm2
|
||||||
RUN groupadd -g $GID $USER && useradd --system -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 && \
|
||||||
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
|
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||||
|
|||||||
Reference in New Issue
Block a user