The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: Minor fixes for turborepo in Vercel and Docker (#27376)
Ivan Vasilov57197f5c0511
diff --git a/apps/studio/Dockerfile b/apps/studio/Dockerfileindex 0eb1183a1c6..91970ae0be2 100644--- a/apps/studio/Dockerfile+++ b/apps/studio/Dockerfile@@ -1,12 +1,12 @@# To be run in the root of the turbo monorepo# NOTE: It's highly recommended to use the new builder, Buildkit. https://docs.docker.com/build/buildkit/## USAGE:-# Build: docker build . -f studio/Dockerfile --target production -t studio:latest+# Build: docker build . -f apps/studio/Dockerfile --target production -t studio:latest# Run: docker run -p 3000:3000 supabase/studio# Deploy: docker push supabase/studio:latest# Clean build:# docker builder prune-# docker build . -f studio/Dockerfile --target production -t studio:latest --no-cache+# docker build . -f apps/studio/Dockerfile --target production -t studio:latest --no-cacheFROM node:20-slim as base@@ -27,7 +27,7 @@ WORKDIR /appFROM base as turboCOPY . .-RUN npx [email protected] prune --scope=studio --docker+RUN npx [email protected] prune studio --docker# Install dev dependencies (only if needed)FROM base as deps@@ -47,7 +47,7 @@ CMD ["npm", "run", "dev:studio"]# Compile Next.jsFROM dev as builder-RUN npx turbo run build --scope=studio --include-dependencies --no-deps+RUN npx [email protected] run build --filter studio -- --no-lint# Copy only compiled code and dependenciesFROM base as productiondiff --git a/turbo.json b/turbo.jsonindex 3a52a09d9ca..4b327205f97 100644--- a/turbo.json+++ b/turbo.json@@ -51,6 +51,7 @@"VERCEL_ENV","VERCEL_URL"],+ "passThroughEnv": ["SENTRY_ORG", "SENTRY_PROJECT", "SENTRY_AUTH_TOKEN"],"outputs": [".next/**", "!.next/cache/**"]},"www#build": {