Add Docker branch selector for ani-cli-web
Add an build argument to the Docker image so the cloned ani-cli-web source can come from a selected branch, and document the new build option in the README.
This commit is contained in:
@@ -59,6 +59,14 @@ Build:
|
||||
docker build -t ani-cli-web .
|
||||
```
|
||||
|
||||
Build a specific `ani-cli-web` branch:
|
||||
|
||||
```sh
|
||||
docker build \
|
||||
--build-arg ANI_CLI_WEB_BRANCH=anipy_backup \
|
||||
-t ani-cli-web .
|
||||
```
|
||||
|
||||
Run:
|
||||
|
||||
```sh
|
||||
@@ -84,6 +92,7 @@ Docker notes:
|
||||
- App state is stored under `/app/.ani-cli-web`
|
||||
- `USER_UID` and `USER_GID` help keep mounted files owned by your host user
|
||||
- `UPDATE_ON_START=true` runs `ani-cli --update` before startup
|
||||
- `ANI_CLI_WEB_BRANCH` lets the image clone a specific `ani-cli-web` branch at build time
|
||||
|
||||
## Key behavior
|
||||
|
||||
|
||||
Reference in New Issue
Block a user