The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Apply suggestions from code review
Han Qiaoad60cbc95561
diff --git a/studio/Dockerfile b/studio/Dockerfileindex cfe843ec353..9ff4a0ca6fc 100644--- a/studio/Dockerfile+++ b/studio/Dockerfile@@ -7,7 +7,7 @@# docker builder pruneFROM node:16-slim as base-RUN apt-get update && apt-get install -y \+RUN apt-get update && apt-get install -y --no-install-recommends \python3 \build-essential \&& rm -rf /var/lib/apt/lists/*@@ -25,8 +25,7 @@ COPY studio studioENTRYPOINT ["docker-entrypoint.sh"]FROM builder as dev-COPY --from=builder /usr/src/app ./app-WORKDIR ./app+COPY --from=builder /usr/src/app ./RUN npm clean-install && npm cache clean --forceEXPOSE 8082CMD ["npx", "turbo", "run", "dev", "--filter=studio"]@@ -34,10 +33,14 @@ CMD ["npx", "turbo", "run", "dev", "--filter=studio"]FROM builder as productionprepWORKDIR /appCOPY --from=builder /usr/src/app ./-RUN npm clean-install && npm cache clean --force && npx turbo run build --scope=studio --include-dependencies --no-deps && rm -rf ./studio/.next/cache/webpack &&npm prune --production+RUN npm clean-install \+ && npm cache clean --force \+ && npx turbo run build --scope=studio --include-dependencies --no-deps \+ && rm -rf ./studio/.next/cache/webpack \+ && npm prune --productionFROM node:16-slim as production-COPY --from=productionprep /app ./-WORKDIR ./studio+COPY --from=productionprep /app /app+WORKDIR /app/studioEXPOSE 3000-CMD ["npm", "run","start"]\ No newline at end of file+CMD ["npm", "run", "start"]