Try out this build!
This commit is contained in:
+1
-1
@@ -41,6 +41,7 @@ RUN bun install --frozen-lockfile
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
ENV NODE_ENV=production
|
||||
RUN cd apps/next && bun run build:docker
|
||||
RUN bun scripts/copy-next-runtime-deps.mjs
|
||||
|
||||
# Runner stage
|
||||
FROM docker.io/library/node:22-alpine AS runner
|
||||
@@ -54,7 +55,6 @@ RUN addgroup --system --gid 1001 nodejs && \
|
||||
|
||||
# Copy built application
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/apps/next/.next/standalone ./
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/node_modules/ws ./node_modules/ws
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/apps/next/.next/static ./apps/next/.next/static
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/apps/next/public ./apps/next/public
|
||||
|
||||
|
||||
Reference in New Issue
Block a user