Docker & Gitea CI ekle
Some checks failed
Test / test (push) Successful in 2s
CI / lint-and-build (push) Failing after 1m16s
CI / docker (push) Has been skipped

- Multi-stage Dockerfile (node:20-alpine, pnpm, standalone)
- docker-compose.yml (SQLite volume dahil)
- .dockerignore
- Gitea CI: lint + build + Docker imaj push
- next.config.ts: output standalone eklendi
This commit is contained in:
Muhammed Emin Akalan
2026-07-24 04:08:22 +03:00
parent fef13ce7b8
commit 2ce0d417dc
5 changed files with 123 additions and 0 deletions

16
docker-compose.yml Normal file
View File

@@ -0,0 +1,16 @@
services:
app:
build: .
container_name: kolaytercih
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- app-data:/app/data
env_file:
- .env.production
environment:
- APP_DB_URL=file:/app/data/app.db
volumes:
app-data: