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:
+3
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user