Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
dfornika committed Oct 23, 2024
2 parents 51ead11 + 5118474 commit 65e19c1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:16-slim

ARG AUSPICE_VERSION="v2.56.1"
ARG AUSPICE_VERSION="v2.59.1"

RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
Expand All @@ -11,7 +11,8 @@ COPY scripts /scripts
WORKDIR /nextstrain/auspice

RUN /scripts/download-repo https://github.com/BCCDC-PHL/auspice ${AUSPICE_VERSION} . \
&& npm install --omit dev . && npm link
&& npm install --omit dev . \
&& npm link

ENV HOST=0.0.0.0

Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,21 @@ docker run -d\
```

The application should be available on [http://localhost:4000](http://localhost:4000).

## Pulling the Container from GitHub Container Registry

Pulling the container from the [GitHub Container Registry](https://github.com/features/packages) (aka "GitHub Packages") requires a GitHub account and a
[personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens).

First store the personal access token to an environment variable `CR_PAT`, then login to the container registry as follows:

```
export CR_PAT="ghp_a68fgN8..."
echo $CR_PAT | docker login ghcr.io -u <GITHUB_USERNAME> --password-stdin
```

The container can then be pulled as follows:

```
docker pull ghcr.io/bccdc-phl/auspice:release
```

0 comments on commit 65e19c1

Please sign in to comment.