Skip to content

Commit f48066d

Browse files
authored
Merge pull request #1102 from DouglasNeuroInformatics/fixPlaygroundDockerfile
update corepack before installing pnpm to avoid failure
2 parents 2d2d472 + 7a8093a commit f48066d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/playground/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ WORKDIR /app
33
ENV PNPM_HOME="/pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
55
ENV NODE_OPTIONS="--max-old-space-size=8192"
6+
RUN npm i -g corepack@latest
67
RUN corepack enable
78
RUN pnpm install -g turbo@latest
89

@@ -24,4 +25,4 @@ RUN turbo build --filter=@opendatacapture/playground
2425
FROM base AS runner
2526
RUN pnpm install -g http-server@14.1.1
2627
COPY --from=builder /app/apps/playground/dist ./
27-
CMD [ "http-server", "-s", "-p", "80", "-P", "http://localhost:80?", "--gzip", "." ]
28+
CMD [ "http-server", "-s", "-p", "80", "-P", "http://localhost:80?", "--gzip", "." ]

0 commit comments

Comments
 (0)