turbo 2.6 with-tailwind and docker cannot build packages/ui #11045
-
SummaryReproduce Step
# -----------------------------------------------------------------------------
# This Dockerfile.bun is specifically configured for projects using Bun
# For npm/pnpm or yarn, refer to the Dockerfile instead
# -----------------------------------------------------------------------------
# Use Bun's official image
FROM oven/bun:1.3 AS base
# Install dependencies with bun
FROM base AS builder
WORKDIR /app
RUN bun add turbo --global
#------- this is workaround I use -----------
# RUN bun add [email protected] --global
COPY . .
RUN turbo prune --scope=web --docker
FROM base AS installer
WORKDIR /app
COPY --from=builder /app/out/json/ .
COPY --from=builder /app/out/bun.lock* .
RUN bun install --no-save
# Build the project
COPY turbo.json turbo.json
COPY --from=builder /app/out/full/ .
# Next.js collects completely anonymous telemetry data about general usage.
# Learn more here: https://nextjs.org/telemetry
RUN bun turbo build --filter=web...
# Production image, copy all the files and run next
FROM base AS runner
WORKDIR /app
# Uncomment the following line in case you want to disable telemetry during runtime.
ENV NEXT_TELEMETRY_DISABLED=1
ENV NODE_ENV=production \
PORT=3000 \
HOSTNAME="0.0.0.0"
RUN addgroup --system --gid 1001 nodejs && \
adduser --system --uid 1001 nextjs
USER nextjs
COPY --from=installer --chown=nextjs:nodejs /app/apps/web/.next/standalone ./
COPY --from=installer --chown=nextjs:nodejs /app/apps/web/.next/static ./apps/web/.next/static
COPY --from=installer --chown=nextjs:nodejs /app/apps/web/public ./apps/web/public
EXPOSE 3000
CMD ["bun", "./apps/web/server.js"]Issueafter update turborepo from ^2.5.6 to 2.6 docker build -f ./apps/web/Dockerfile .
not sure this is tailwindcss issue or turborepo issue workaroundrevert turborepo back to ^2.5.6 Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Answered by
anthonyshew
Nov 5, 2025
Replies: 1 comment
-
|
I'm not sure what the exact issue is, but it definitely isn't with Turborepo. That error message is coming from a JS process. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
anthonyshew
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I'm not sure what the exact issue is, but it definitely isn't with Turborepo. That error message is coming from a JS process.