feat: include widget.js in Docker image for embed script serving

Added COPY public ./public to Dockerfile so the Preact embed widget
is served via NestJS static assets at /widget.js.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-21 05:51:30 +05:30
parent bbea12185d
commit 826ced1e62
2 changed files with 39 additions and 363 deletions

View File

@@ -54,5 +54,8 @@ COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./
# Widget embed script (pre-built, served via NestJS static assets)
COPY public ./public
EXPOSE 4100
CMD ["node", "dist/main.js"]

File diff suppressed because one or more lines are too long