bun issue??
This commit is contained in:
parent
288d3c4e3d
commit
8815be8b43
2 changed files with 10 additions and 5 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue