From 70b9cdde1ac7752a7f68e35749e907dea9249aaa Mon Sep 17 00:00:00 2001 From: Gauvino <68083474+Gauvino@users.noreply.github.com> Date: Mon, 24 Jun 2024 00:45:58 +0200 Subject: [PATCH] build(fix): add missing pnpm command to dockerfile (#835) Running the container, this error shows up `[FATAL tini (7)] exec pnpm failed: No such file or directory` --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 37e206866..f475fe056 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN \ ;; \ esac -Run npm install --global pnpm +RUN npm install --global pnpm COPY package.json pnpm-lock.yaml ./ RUN CYPRESS_INSTALL_BINARY=0 pnpm install --frozen-lockfile @@ -45,6 +45,8 @@ WORKDIR /app RUN apk add --no-cache tzdata tini && rm -rf /tmp/* +RUN npm install -g pnpm + # copy from build image COPY --from=BUILD_IMAGE /app ./