From b1d2f8b44179ecd37ca2fa3c19d02496fea593f5 Mon Sep 17 00:00:00 2001 From: Kenzo Date: Tue, 9 Dec 2025 18:35:57 +0100 Subject: [PATCH] feat: Add vips dependencies for sharp in backend Dockerfile - Added `vips-dev` and `vips` to build and runtime dependencies. - Updated installation process to ensure compilation --- backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index ccb6edd..c44d951 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -68,4 +68,4 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD node -e "require('http').get('http://localhost:8080/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})" # Run DB migrations if present, then start application -CMD ["/bin/sh", "-lc", "[ -f dist/migrate.js ] && node dist/migrate.js || true; node dist/index.js"] +CMD ["/bin/sh", "-lc", "mkdir -p /app/data/images/events /app/data/images/gallery && [ -f dist/migrate.js ] && node dist/migrate.js || true; node dist/index.js"]