ci: improve cleanup fallback (chown+chmod before delete) and run web container as uid 1000 to prevent root-owned caches
This commit is contained in:
parent
4376ed9c3c
commit
0562c13630
2 changed files with 8 additions and 6 deletions
|
|
@ -4,6 +4,8 @@ version: "3.8"
|
|||
services:
|
||||
web:
|
||||
image: node:20-bullseye
|
||||
# Run as non-root to avoid creating root-owned files on host mounts
|
||||
user: "1000:1000"
|
||||
working_dir: /app
|
||||
command: >
|
||||
bash -lc "bash /app/scripts/start-web.sh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue