From ca7d6cc3c907cd935c91dd9bef007b62fa2e2fce Mon Sep 17 00:00:00 2001 From: JCEEE <0xjceee@proton.me> Date: Sun, 9 Aug 2026 16:19:28 +0100 Subject: [PATCH] fix pnpm10 usage --- docker/entrypoint.sh | 4 ++-- pnpm-lock.yaml | 1 + pnpm-workspace.yaml | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 69e6ae3..e931313 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -27,7 +27,7 @@ done # Start the app (frontend + proxy). The proxy auto-runs schema migration. # FRONTEND_PORT/PROXY_PORT are set via ENV in the Dockerfile; adapter-node # reads PORT, the proxy reads PROXY_PORT. -node /app/frontend/build/index.js & -node /app/proxy/dist/index.js & +node /app/frontend/index.js & +node /app/proxy/index.js & nginx -g 'daemon off;' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4094779..0bf5a91 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3,6 +3,7 @@ lockfileVersion: '9.0' settings: autoInstallPeers: true excludeLinksFromLockfile: false + injectWorkspacePackages: true importers: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 0ee2b49..1d54926 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,7 +1,7 @@ +injectWorkspacePackages: true packages: - - 'frontend' - - 'proxy' - + - "frontend" + - "proxy" onlyBuiltDependencies: - - '@tailwindcss/oxide' + - "@tailwindcss/oxide" - esbuild