Keep the dev container as root for s6 init so composer can create vendor/ on root-owned mounts, then chown writable paths to www-data. Move init-setup into a shell script and expose VITE_HOST/PORT for remote HMR (LAN/Tailscale) with Vite listening on 0.0.0.0.
6 lines
216 B
Text
Executable file
6 lines
216 B
Text
Executable file
#!/command/execlineb -P
|
|
|
|
# s6 oneshots are execline pipelines (shebang shell scripts are not run as sh).
|
|
# Delegate to a real shell script for readable setup logic.
|
|
with-contenv
|
|
/etc/s6-overlay/scripts/init-setup.sh
|