Skip to content

Commit

Permalink
Invoke npm with --arch to install/build for target arch
Browse files Browse the repository at this point in the history
This surfaces some build issues which will be addressed in later commits.
  • Loading branch information
victorlin committed Mar 21, 2023
1 parent 366a348 commit 57124b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ RUN curl -fsSL -o /final/bin/nextclade2 https://github.com/nextstrain/nextclade/
WORKDIR /nextstrain/auspice
RUN /builder-scripts/download-repo https://github.com/nextstrain/auspice release . \
&& npm update \
--arch=$TARGETARCH \
&& npm install \
--arch=$TARGETARCH \
&& npm run build \
&& npm link

Expand Down

0 comments on commit 57124b0

Please sign in to comment.