Specify user of the container to avoid crashing at first run

This commit is contained in:
Sergio Giménez Antón 2025-02-15 12:03:15 +01:00
parent 5d6747edd9
commit 96e9ddcf53

View file

@ -1,4 +1,3 @@
services: services:
build-iso: build-iso:
init: true init: true
@ -8,6 +7,7 @@ services:
# uncomment next two lines to test this # uncomment next two lines to test this
environment: environment:
- DEBUG=true - DEBUG=true
- USER=root
volumes: volumes:
- .:/opt/workbench-script:ro - .:/opt/workbench-script:ro
- ./iso:/opt/workbench-script/iso:rw - ./iso:/opt/workbench-script/iso:rw