Try out this build!
Build and Push Next App / quality (push) Successful in 1m13s
Build and Push Next App / build-next (push) Successful in 3m25s

This commit is contained in:
Gabriel Brown
2026-06-21 14:42:07 -05:00
parent 1e144fb8f1
commit a4d4355886
2 changed files with 117 additions and 1 deletions
+1 -1
View File
@@ -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