mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 08:47:32 +00:00
npm store as build cache
This commit is contained in:
@@ -8,9 +8,11 @@ ENV SHELL=/bin/bash \
|
||||
PNPM_HOME=/home/node/.local/share/pnpm \
|
||||
PATH=/home/node/.local/share/pnpm:$PATH
|
||||
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get --no-install-recommends install -y \
|
||||
libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb && \
|
||||
apt-get clean && \
|
||||
corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@9.1.2 --activate
|
||||
|
||||
RUN --mount=type=cache,id=pnpm,target=/home/node/.local/share/pnpm/store \
|
||||
pnpm install --frozen-lockfile --recursive
|
Reference in New Issue
Block a user