From 8ec9e81e0e8f955fbf256d27edfb95601bfbf899 Mon Sep 17 00:00:00 2001 From: Dan Fornika Date: Mon, 26 Aug 2024 11:30:58 -0700 Subject: [PATCH] Use build ARG for auspice version --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e79ec09..52dcd54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM node:16-slim +ARG AUSPICE_VERSION="v2.56.1" + RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates \ git @@ -8,7 +10,7 @@ COPY scripts /scripts WORKDIR /nextstrain/auspice -RUN /scripts/download-repo https://github.com/BCCDC-PHL/auspice release . \ +RUN /scripts/download-repo https://github.com/BCCDC-PHL/auspice ${AUSPICE_VERSION} . \ && npm install --omit dev . && npm link ENV HOST=0.0.0.0