Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: run `next build` directly instead of `build` task to avoid uploading static assets when building image (#33693)

Beng Eu710131456f26
diff --git a/apps/studio/Dockerfile b/apps/studio/Dockerfile
index 586be9e9177..3fbac7d88bb 100644
--- a/apps/studio/Dockerfile
+++ b/apps/studio/Dockerfile
@@ -51,7 +51,7 @@ CMD ["pnpm", "dev:studio"]
# Compile Next.js
FROM dev AS builder
-RUN pnpm dlx [email protected] run build --filter studio -- --no-lint
+RUN pnpm --filter studio exec next build
# Copy only compiled code and dependencies
FROM base AS production