From c0a43351e179d8ba319459c4876befaae8c68f89 Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Wed, 9 Apr 2025 23:35:32 +0200 Subject: [PATCH] Refactor Docker setup and migrate to PostgreSQL Streamlined Dockerfiles with clearer ENV variables and build args. Switched backend database from MySQL to PostgreSQL, updated configurations accordingly, and added robust Docker Compose services for better orchestration, including health checks and persistent storage. --- frontend/fetch-openapi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/fetch-openapi.js b/frontend/fetch-openapi.js index 5a2ea8a..078de93 100644 --- a/frontend/fetch-openapi.js +++ b/frontend/fetch-openapi.js @@ -178,9 +178,9 @@ async function fetchAndGenerate() { const backendDirectory = (() => { switch (nodeEnv) { case 'prod': - return path.resolve('/app/backend/app'); // Production path + return path.resolve('/app/backend'); // Production path case 'test': - return path.resolve('/app/backend/app'); // Test path + return path.resolve('/app/backend'); // Test path case 'dev': default: return path.resolve('/app/backend'); // Development path