change root perm

This commit is contained in:
Siwat Sirichai 2024-02-14 00:04:00 +07:00
parent 6e516f2402
commit 6615b29380
2 changed files with 3 additions and 2 deletions

View file

@ -68,5 +68,7 @@ RUN moonraker/scripts/install-moonraker.sh -d /opt/printstack/data/moonraker -z
# Daemons #
##########################
COPY entrypoint.sh /opt/printstack/entrypoint.sh
USER root
RUN chmod +x /opt/printstack/entrypoint.sh
USER printeruser
ENTRYPOINT ["/opt/printstack/entrypoint.sh"]