Skip to content

Commit

Permalink
updated dev docs
Browse files Browse the repository at this point in the history
  • Loading branch information
krokicki committed Oct 19, 2024
1 parent de1e36a commit d7705ba
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions docs/Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,20 @@
python -m pytest --cov=zarrcade --cov-report html -W ignore::DeprecationWarning
```

## Docker build
## Building the Docker container

To rebuild and republish the Docker container (replacing 'latest' with the desired tag):
Run the Docker build, replacing `<version>` with your version number:

```bash
docker build --no-cache docker -t ghcr.io/janeliascicomp/zarrcade:latest
docker push ghcr.io/janeliascicomp/zarrcade:latest
cd docker/
export VERSION=<version>
docker build . --build-arg GIT_TAG=$VERSION -t ghcr.io/janeliascicomp/zarrcade:$VERSION
```

## Pushing the Docker container

```bash
docker push ghcr.io/janeliascicomp/zarrcade:$VERSION
docker tag ghcr.io/janeliascicomp/zarrcade:$VERSION ghcr.io/janeliascicomp/zarrcade:latest
docker push ghcr.io/janeliascicomp/zarrcade:latest
```

0 comments on commit d7705ba

Please sign in to comment.