Skip to content
Draft
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
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
dpkg-dev \
unzip

# Install a specific Node.js version
# Install a specific Node.js version to build Auspice (currently Node v24)
# https://github.com/nodesource/distributions/blob/ba48c1fe6e843e9ffb60aefc5da5d00234c83f04/README.md#using-debian-as-root-nodejs-20
RUN apt-get update && apt-get install -y curl \
&& curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh \
&& curl -fsSL https://deb.nodesource.com/setup_24.x -o nodesource_setup.sh \
&& bash nodesource_setup.sh \
&& apt-get install -y nodejs

Expand Down Expand Up @@ -201,7 +201,7 @@ RUN curl -fsSL https://github.com/nextstrain/nextclade/releases/latest/download/
# ³ https://github.com/mapbox/node-pre-gyp#options
# ⁴ 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 . \
RUN /builder-scripts/download-repo https://github.com/nextstrain/auspice v3 . \
&& npm install --omit dev && npm link

# Add NCBI Datasets command line tools for access to NCBI Datsets Virus Data Packages
Expand Down Expand Up @@ -367,10 +367,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
zlib1g \
zstd

# Install a specific Node.js version
# Install a specific Node.js version to use as Auspice's runtime (currently Node v24)
# https://github.com/nodesource/distributions/blob/ba48c1fe6e843e9ffb60aefc5da5d00234c83f04/README.md#using-debian-as-root-nodejs-20
RUN apt-get update && apt-get install -y curl \
&& curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh \
&& curl -fsSL https://deb.nodesource.com/setup_24.x -o nodesource_setup.sh \
&& bash nodesource_setup.sh \
&& apt-get install -y nodejs

Expand Down
Loading