feat: first
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
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
This commit is contained in:
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
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
|
||||
Reference in New Issue
Block a user