Skip to content

Commit

Permalink
Use build ARG for auspice version
Browse files Browse the repository at this point in the history
  • Loading branch information
dfornika committed Aug 26, 2024
1 parent 1cb52d0 commit 8ec9e81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8ec9e81

Please sign in to comment.