Files
sql/postgraphile/Dockerfile
2025-10-13 07:49:20 +02:00

13 lines
533 B
Docker

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
EXPOSE 5000
ENTRYPOINT ["postgraphile", "-n", "0.0.0.0", "--cors"]