Files
sql/postgraphile.Dockerfile
2025-10-13 20:59:17 +02:00

13 lines
551 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 80
ENTRYPOINT ["postgraphile", "--host", "0.0.0.0", "--port", "80", "--cors"]