Dockerfile
This commit is contained in:
12
postgraphile.Dockerfile
Normal file
12
postgraphile.Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user