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`
This commit is contained in:
Gauvino
2024-06-24 00:45:58 +02:00
committed by GitHub
parent 989af67c0a
commit 70b9cdde1a

View File

@@ -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 ./