2025-10-13 07:49:20 +02:00
|
|
|
FROM node:alpine
|
|
|
|
|
LABEL description="Instant high-performance GraphQL API for your PostgreSQL database https://github.com/graphile/postgraphile"
|
|
|
|
|
|
|
|
|
|
# Install PostGraphile and PostGraphile connection filter plugin
|
|
|
|
|
RUN npm install -g postgraphile &&\
|
|
|
|
|
npm install -g postgraphile-plugin-connection-filter &&\
|
|
|
|
|
npm install -g @graphile/postgis &&\
|
|
|
|
|
npm install -g postgraphile-plugin-connection-filter-postgis &&\
|
|
|
|
|
npm install -g postgraphile-plugin-fulltext-filter
|
|
|
|
|
|
2025-10-13 20:59:17 +02:00
|
|
|
EXPOSE 80
|
|
|
|
|
ENTRYPOINT ["postgraphile", "--host", "0.0.0.0", "--port", "80", "--cors"]
|