Support LiteSpeed /server path via GLOBAL_PREFIX

Allow Nest prefix server/api and overlay dist from git onto the deploy bundle so proxy paths match without a full retar.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-06 09:55:57 +03:30
co-authored by Cursor
parent 2d513a81af
commit b121797263
6 changed files with 19 additions and 11 deletions
+3 -2
View File
@@ -1,5 +1,4 @@
# bookworm کامل (نه slim) تا OpenSSL از قبل داخل ایمیج باشد
# سرورهای ایران معمولاً به deb.debian.org دسترسی ندارند
# bookworm کامل تا OpenSSL آماده باشد (بدون apt روی سرور ایران)
FROM node:22-bookworm
WORKDIR /app
@@ -9,6 +8,8 @@ COPY deploy-bundle.tar.gz /tmp/deploy-bundle.tar.gz
RUN tar -xzf /tmp/deploy-bundle.tar.gz -C /app \
&& rm /tmp/deploy-bundle.tar.gz
# dist و entrypoint از گیت — بدون بازسازی کل باندل
COPY dist /app/dist
COPY docker-entrypoint.sh /app/docker-entrypoint.sh
RUN chmod +x /app/docker-entrypoint.sh