Skip to content

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

fix: Fix the Docker build for studio (#18753)

Ivan Vasilov62454ff274dc
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index b2bdec3260d..467760742ba 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -154,6 +154,7 @@ services:
command: "postgrest"
realtime:
+ # This container name looks inconsistent but is correct because realtime constructs tenant id by parsing the subdomain
container_name: realtime-dev.supabase-realtime
image: supabase/realtime:v2.10.1
depends_on:
diff --git a/studio/Dockerfile b/studio/Dockerfile
index 4da64dbbcef..0f1ca272a67 100644
--- a/studio/Dockerfile
+++ b/studio/Dockerfile
@@ -53,7 +53,7 @@ RUN npx turbo run build --scope=studio --include-dependencies --no-deps
# Copy only compiled code and dependencies
FROM base as production
COPY --from=builder /app/studio/public ./studio/public
-COPY --from=builder /app/studio/.next/standalone/app ./
+COPY --from=builder /app/studio/.next/standalone ./
COPY --from=builder /app/studio/.next/static ./studio/.next/static
EXPOSE 3000
ENTRYPOINT ["docker-entrypoint.sh"]