Jelajahi Sumber

Add command override to docker-compose.yml

- Override CMD to use /app/start.sh without rebuilding image
- Works with pre-built images from registry

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
tuanchris 3 minggu lalu
induk
melakukan
f54750e3dc
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      docker-compose.yml

+ 1 - 0
docker-compose.yml

@@ -3,6 +3,7 @@ services:
     build: .
     build: .
     image: ghcr.io/tuanchris/dune-weaver:main
     image: ghcr.io/tuanchris/dune-weaver:main
     restart: always
     restart: always
+    command: /app/start.sh
     ports:
     ports:
       - "80:80"     # Frontend (nginx)
       - "80:80"     # Frontend (nginx)
       - "8080:8080" # Backend API
       - "8080:8080" # Backend API