From 4f81c3129e50a24b4dcdf81abc4db8eece52feec Mon Sep 17 00:00:00 2001 From: jason Date: Mon, 9 Mar 2026 19:24:41 -0500 Subject: [PATCH] fix: Mount ./static:/app/static volume and add STATIC_PATH env var --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3e4e839..89a715c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,15 +9,17 @@ services: volumes: - ./data:/app/data - ./uploads:/app/uploads + - ./static:/app/static environment: - NODE_ENV=production - PORT=3000 - DB_PATH=/app/data/breedr.db - UPLOAD_PATH=/app/uploads + - STATIC_PATH=/app/static restart: unless-stopped healthcheck: test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/api/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"] interval: 30s timeout: 10s retries: 3 - start_period: 40s \ No newline at end of file + start_period: 40s