Split fake multi-stage Dockerfile into independent CI builder and runtime images. Add proper entrypoint with UID/GID remapping via PUID/PGID, sentinel-based first-boot bootstrap, pre-creation of critical file targets, and signal-forwarding privilege drop via gosu. Standardize on Node 24, split compose into minimal + full reference. Closes #9
23 lines
403 B
YAML
23 lines
403 B
YAML
services:
|
|
gsd:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.sandbox
|
|
args:
|
|
GSD_VERSION: latest
|
|
container_name: gsd-sandbox
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ../:/workspace
|
|
- gsd-state:/home/gsd/.gsd
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- NODE_ENV=development
|
|
stdin_open: true
|
|
tty: true
|
|
|
|
volumes:
|
|
gsd-state:
|
|
driver: local
|