Add Docker image and compose for Needle web exports

Serve production Vite dist with nginx; optional SampleScene profile.

Made-with: Cursor
This commit is contained in:
pelpanagiotis
2026-04-19 23:05:50 +03:00
parent a7c53a08a0
commit 479e9bb979
5 changed files with 102 additions and 2 deletions

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
services:
# Default: Needle/MenuScene → http://localhost:8080
menu:
build:
context: .
dockerfile: Dockerfile
args:
NEEDLE_APP: MenuScene
ports:
- "8080:80"
restart: unless-stopped
# Optional: docker compose --profile sample up --build
sample:
profiles: ["sample"]
build:
context: .
dockerfile: Dockerfile
args:
NEEDLE_APP: SampleScene
ports:
- "8081:80"
restart: unless-stopped