-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (16 loc) · 803 Bytes
/
Dockerfile
File metadata and controls
24 lines (16 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM node:25-slim
RUN apt-get update && apt-get -y install ca-certificates curl
WORKDIR /nextstrain/auspice
RUN curl -fsSL "https://github.com/Integrative-Transcriptomics/TrepoGen-auspice/archive/refs/heads/master.tar.gz" \
| tar -xz --strip-components=1 -C .
RUN npx update-browserslist-db@latest
RUN npm install --omit=dev --global .
RUN auspice build --extend /nextstrain/auspice/client/config.json
WORKDIR /nextstrain
RUN curl -fsSL "https://github.com/Integrative-Transcriptomics/TrepoGen-nextstrain/archive/refs/heads/master.tar.gz" \
| tar -xz --strip-components=1 -C . \
TrepoGen-nextstrain-main/datasets
RUN mkdir -p /nextstrain/narratives
ENV HOST=0.0.0.0
EXPOSE 4000
ENTRYPOINT ["auspice", "view", "--datasetDir", "/nextstrain/datasets", "--narrativeDir", "/nextstrain/narratives"]