feat: stricter lint, check pipelines, docker-containers, pnpm

This commit is contained in:
2026-02-22 17:48:51 +00:00
parent 40ca6ef94a
commit b697ad823a
50 changed files with 4976 additions and 5431 deletions

29
docker-compose.yml Normal file
View File

@@ -0,0 +1,29 @@
services:
portfolio:
build:
context: .
dockerfile: Dockerfile
image: portfolio:latest
container_name: portfolio-app
restart: unless-stopped
ports:
- "4000:4000"
environment:
- NODE_ENV=production
- NEXT_TELEMETRY_DISABLED=1
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:4000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
security_opt:
- no-new-privileges:true
read_only: true
tmpfs:
- /tmp
- /app/.next/cache
cap_drop:
- ALL
cap_add:
- NET_BIND_SERVICE