change root perm
This commit is contained in:
parent
6e516f2402
commit
6615b29380
|
@ -7,4 +7,3 @@ services:
|
|||
- "7130:7130"
|
||||
volumes:
|
||||
- /var/printfarm/printer1:/opt/printstack/data
|
||||
command: ["/bin/bash", "-c", "/opt/printstack/entrypoint.sh"]
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue