Skip to content

Commit 7981b51

Browse files
committed
fix: improve script dockerfile
1 parent bdb44ad commit 7981b51

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/hasura/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:20-slim
2-
3-
# Install pnpm
4-
RUN corepack enable && corepack prepare pnpm@latest --activate
2+
ENV PNPM_HOME="/pnpm"
3+
ENV PATH="$PNPM_HOME:$PATH"
4+
RUN corepack enable
55

66
WORKDIR /app
77

@@ -21,4 +21,4 @@ WORKDIR /app/scripts/hasura
2121
RUN pnpm build
2222

2323
# Run the configure script
24-
CMD ["pnpm", "configure"]
24+
CMD ["pnpm", "api:configure"]

0 commit comments

Comments
 (0)