fix chown
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
vincent 2022-05-15 20:56:01 +02:00
parent fe35beb47f
commit ec898f7a27

View File

@ -5,7 +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 && \ chown chaineTV /pkg/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" &&\