mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-30 23:23:47 +03:00
Add new dockerfile for postgres (#2322)
* Add new Dockerfile for postgres * Fix docker * Update dockerfile --------- Co-authored-by: martmull <martmull@hotmail.fr>
This commit is contained in:
parent
cf8840dfec
commit
9c2c1e879a
@ -28,6 +28,8 @@ RUN apt update && apt install -y curl
|
||||
# Install precompiled pg_graphql extensions
|
||||
RUN curl -L "https://github.com/supabase/pg_graphql/releases/download/v${PG_GRAPHQL_VERSION}/pg_graphql-v${PG_GRAPHQL_VERSION}-pg${PG_MAIN_VERSION}-${TARGETARCH}-linux-gnu.deb" -o pg_graphql.deb
|
||||
RUN dpkg --install pg_graphql.deb
|
||||
RUN cp /usr/share/postgresql/15/extension/pg_graphql* /opt/bitnami/postgresql/share/extension/
|
||||
RUN cp /usr/lib/postgresql/15/lib/pg_graphql* /opt/bitnami/postgresql/lib/
|
||||
|
||||
COPY ./infra/build/postgres/init.sql /docker-entrypoint-initdb.d/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user