bun issue??

This commit is contained in:
암냥 2025-12-12 02:20:13 +09:00
commit 8815be8b43
No known key found for this signature in database
2 changed files with 10 additions and 5 deletions

View file

@ -19,13 +19,13 @@ COPY . .
RUN bun run build
# Production image, copy all the files and run next
FROM base AS runner
FROM node:24-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
RUN groupadd -g 1001 nodejs
RUN useradd -m -u 1001 -g nodejs -s /sbin/nologin nextjs
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
COPY --from=builder /app/public ./public
@ -38,4 +38,4 @@ EXPOSE 3000
ENV PORT=3000
ENV HOSTNAME="0.0.0.0"
CMD ["bun", "run", "server.js"]
CMD ["node", "server.js"]