Skip to content

Commit

Permalink
no yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
benphelps committed Oct 20, 2022
1 parent d74618e commit d2052c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN <<EOF
set -xe
apk add libc6-compat
apk add --virtual .gyp python3 make g++
yarn global add pnpm
npm install -g pnpm
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"
Expand All @@ -31,7 +31,7 @@ COPY . .

RUN <<EOF
set -xe
yarn next telemetry disable
npm run telemetry
mkdir config && echo '-' > config/settings.yaml
NEXT_PUBLIC_BUILDTIME=$BUILDTIME NEXT_PUBLIC_VERSION=$VERSION NEXT_PUBLIC_REVISION=$REVISION npm run build
EOF
Expand Down

0 comments on commit d2052c1

Please sign in to comment.