Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ WORKDIR /src

FROM base AS build

# pnpm's standalone binary (@pnpm/exe) needs libatomic.so.1 on arm64 —
# not present by default on node:*-slim. Pin it explicitly so the build
# doesn't depend on it being present by luck/caching.
RUN apt-get update && \
apt-get install -y --no-install-recommends libatomic1 && \
rm -rf /var/lib/apt/lists/*

RUN npm i -g pnpm

COPY --link package.json pnpm-lock.yaml pnpm-workspace.yaml ./
Expand Down
Loading