Skip to content

Commit 6afa16c

Browse files
committed
chore: use the npm beta version as postgraphile@5 has no docker image yet
1 parent d2965b4 commit 6afa16c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Dockerfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
FROM graphile/postgraphile:beta
1+
FROM node:22-alpine
22

3-
RUN yarn global add \
4-
postgraphile-plugin-connection-filter-relations@beta \
5-
@graphile-contrib/pg-simplify-inflector
3+
WORKDIR /app
4+
5+
RUN npm install -g postgraphile@beta \
6+
@graphile-contrib/pg-simplify-inflector \
7+
postgraphile-plugin-connection-filter-relations@beta
8+
9+
EXPOSE 5000
10+
11+
CMD ["postgraphile"]

0 commit comments

Comments
 (0)