feat: first
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