change right in dockerfile

This commit is contained in:
vincent 2022-05-15 20:49:57 +02:00
parent 69f5539910
commit b22a4dae41

View File

@ -5,6 +5,7 @@ RUN apk -U --no-progress upgrade && \
pip install -r /pkg/backend/requirements.txt && \ pip install -r /pkg/backend/requirements.txt && \
mv "/usr/local" "/pkg/usr" && \ mv "/usr/local" "/pkg/usr" && \
adduser -S -D -H -h /var/lib/chaineTV -s /sbin/nologin -G users -g chaineTV chaineTV && \ adduser -S -D -H -h /var/lib/chaineTV -s /sbin/nologin -G users -g chaineTV chaineTV && \
chown chaineTV backend -R && \
install -d -m755 "/pkg/etc" && \ install -d -m755 "/pkg/etc" && \
install -m644 "/etc/passwd" "/pkg/etc/passwd" &&\ install -m644 "/etc/passwd" "/pkg/etc/passwd" &&\
install -m644 "/etc/group" "/pkg/etc/group" &&\ install -m644 "/etc/group" "/pkg/etc/group" &&\