no yarn
This commit is contained in:
parent
d74618e9b6
commit
d2052c1403
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ RUN <<EOF
|
||||||
set -xe
|
set -xe
|
||||||
apk add libc6-compat
|
apk add libc6-compat
|
||||||
apk add --virtual .gyp python3 make g++
|
apk add --virtual .gyp python3 make g++
|
||||||
yarn global add pnpm
|
npm install -g pnpm
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm fetch | grep -v "cross-device link not permitted\|Falling back to copying packages from store"
|
RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm fetch | grep -v "cross-device link not permitted\|Falling back to copying packages from store"
|
||||||
|
@ -31,7 +31,7 @@ COPY . .
|
||||||
|
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
set -xe
|
set -xe
|
||||||
yarn next telemetry disable
|
npm run telemetry
|
||||||
mkdir config && echo '-' > config/settings.yaml
|
mkdir config && echo '-' > config/settings.yaml
|
||||||
NEXT_PUBLIC_BUILDTIME=$BUILDTIME NEXT_PUBLIC_VERSION=$VERSION NEXT_PUBLIC_REVISION=$REVISION npm run build
|
NEXT_PUBLIC_BUILDTIME=$BUILDTIME NEXT_PUBLIC_VERSION=$VERSION NEXT_PUBLIC_REVISION=$REVISION npm run build
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Add table
Reference in a new issue