From efb8dcf7f3c1019af904cb5825931aead8e5d2b8 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Tue, 20 Dec 2022 16:01:01 -0500 Subject: [PATCH] Remove redundant Auspice build 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. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 951d129f..0e3570e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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