Use Hono for invite preview server

This commit is contained in:
2026-04-25 02:26:14 +05:30
parent ab08d9c8db
commit 8874ea84a7
4 changed files with 485 additions and 405 deletions
+6 -1
View File
@@ -26,7 +26,12 @@ FROM node:20-alpine
WORKDIR /app
# Copy only the built output - no source, no .env, no dev deps
# Install production dependencies needed by the Node server runtime
RUN npm install -g pnpm@10.33.0
COPY package.json pnpm-lock.yaml ./
RUN pnpm i --prod --frozen-lockfile --ignore-scripts
# Copy only the built output and server source - no app source, no .env, no dev deps
COPY --from=builder /app/build ./build
COPY --from=builder /app/server.js ./server.js