Files
fabric_trade_server/Dockerfile
T
mohmdsdgandCursor b121797263 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>
2026-08-06 09:55:57 +03:30

18 lines
531 B
Docker

# bookworm کامل تا OpenSSL آماده باشد (بدون apt روی سرور ایران)
FROM node:22-bookworm
WORKDIR /app
ENV NODE_ENV=production
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
EXPOSE 3000
ENTRYPOINT ["./docker-entrypoint.sh"]