Skip to content

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

Update Dockerfile

Ruggero Tomaselli1a720dd5424d
diff --git a/studio/Dockerfile b/studio/Dockerfile
index 32fe1d0f128..a83f74c57fe 100644
--- a/studio/Dockerfile
+++ b/studio/Dockerfile
@@ -12,6 +12,10 @@ FROM node:16-slim as base
RUN apt-get update && apt-get install -y --no-install-recommends \
python3 \
build-essential \
+ # Added ca-certificates and git to build libpg-query if prebuilt binaries not available
+ # git required here https://github.com/pyramation/libpg-query-node/blob/8bf1d4b04ea003f1c5c6aa034fd28cfbab3cc308/script/buildAddon.sh#L11
+ ca-certificates \
+ git \
&& rm -rf /var/lib/apt/lists/*
RUN npm i -g turbo