Files
svelte-5-static-shadcn-temp…/docker-compose.yml
Simon Malm 82394e9a94
Some checks failed
CI / test (20) (push) Failing after 16s
CI / test (22) (push) Failing after 20s
CI / security (push) Failing after 2m8s
CI / build (push) Has been skipped
Deploy / build-and-deploy (push) Failing after 43s
Deploy / docker-build (push) Failing after 9s
Gitea CI / test (push) Failing after 13s
Gitea CI / docker-build (push) Has been skipped
feat: first
2025-08-13 20:18:21 +02:00

23 lines
426 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