Skip to content

Commit 637265b

Browse files
committed
Corepack fix
1 parent 0090f07 commit 637265b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ckstats/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ ENV CKSTATS_REF=${CKSTATS_REF}
1919
RUN apt-get update && \
2020
apt-get install -y --no-install-recommends \
2121
git curl cron supervisor ca-certificates postgresql postgresql-contrib && \
22-
curl -fsSL https://get.pnpm.io/install.sh | bash - && \
23-
ln -s ${PNPM_HOME}/pnpm /usr/local/bin/pnpm && \
22+
corepack enable && \
23+
corepack prepare pnpm@latest --activate && \
2424
apt-get clean && rm -rf /var/lib/apt/lists/* && update-ca-certificates --fresh
2525

2626
VOLUME ["/var/lib/postgresql/data"]

0 commit comments

Comments
 (0)