added docker compose

This commit is contained in:
Hunter W.
2026-03-27 01:31:21 -04:00
parent 960f74a754
commit 8bc880fe10
4 changed files with 60 additions and 0 deletions

17
docker-compose.yml Normal file
View File

@@ -0,0 +1,17 @@
services:
portfolio:
build:
context: .
dockerfile: Dockerfile
ports:
- "3050:3050"
environment:
- NODE_ENV=production
- NEXT_TELEMETRY_DISABLED=1
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3050"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s