Skip to content

Commit

Permalink
Remove redundant Auspice build
Browse files Browse the repository at this point in the history
Auspice has a prepare script that runs the build script automatically
after npm install. This means the explicit call to run the build script
is redundant and can be removed to improve build times.
  • Loading branch information
victorlin committed Jun 23, 2023
1 parent 626ca5e commit efb8dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ RUN curl -fsSL -o /final/bin/nextclade2 https://github.com/nextstrain/nextclade/
# ⁴ https://github.com/mapbox/node-pre-gyp/blob/v1.0.10/lib/node-pre-gyp.js#L186
WORKDIR /nextstrain/auspice
RUN /builder-scripts/download-repo https://github.com/nextstrain/auspice release . \
&& npm update && npm install && npm run build && npm link
&& npm update && npm install && npm link

# Add NCBI Datasets command line tools for access to NCBI Datsets Virus Data Packages
RUN curl -fsSL -o /final/bin/datasets https://ftp.ncbi.nlm.nih.gov/pub/datasets/command-line/v2/linux-${TARGETARCH}/datasets
Expand Down

0 comments on commit efb8dcf

Please sign in to comment.