Files
svelte-5-static-shadcn-temp…/docker-compose.yml
Simon Malm 788d500821
Some checks failed
CI / test (22) (push) Failing after 39s
CI / test (20) (push) Failing after 2m56s
CI / build (push) Has been skipped
CI / security (push) Failing after 2m30s
Deploy / docker-build (push) Failing after 9s
Deploy / build-and-deploy (push) Failing after 41s
Gitea CI / test (push) Failing after 33s
Gitea CI / docker-build (push) Has been skipped
fix: formatting
2025-08-14 14:16:04 +02:00

24 lines
423 B
YAML

services:
app:
build: .
ports:
- '3000:80'
restart: unless-stopped
container_name: svelte-static-app
# Optional: Add a development service
dev:
build:
context: .
target: builder
command: npm run dev -- --host 0.0.0.0
ports:
- '5173:5173'
volumes:
- .:/app
- /app/node_modules
environment:
- NODE_ENV=development
profiles:
- dev