Updated README with new Docker update method

pull/126/head^2
tycrek 2 years ago
parent 1f67879fbe
commit f47dedc595
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

13
.github/README.md vendored

@ -162,19 +162,10 @@ npm run setup && docker-compose restart
Easy! Just pull the changes & run this one-liner: Easy! Just pull the changes & run this one-liner:
```bash ```bash
# Pull the latest version of ass # Pull the latest version of ass and rebuild the image
git pull git pull && docker compose build --no-cache && docker compose up -d
# Rebuild the container with the new changes (uncomment the 2nd part if the update requires refreshing the config)
docker-compose up --force-recreate --build -d && docker image prune -f # && docker-compose exec ass npm run setup && docker-compose restart
``` ```
- `--force-recreate` will force the container to rebuild
- `--build` will build the image from the latest changes in the directory
- `-d` will run the container in the background
- `docker image prune -f` will remove old images that are no longer used by any containers
- *These descriptions were suggested by [CoPilot], feel free to revise if necessary.*
#### What else should I be aware of? #### What else should I be aware of?
- `docker-compose` exposes **five** volumes. These volumes let you edit the config, view the auth or data files, or view the `uploads/` folder from your host. - `docker-compose` exposes **five** volumes. These volumes let you edit the config, view the auth or data files, or view the `uploads/` folder from your host.

Loading…
Cancel
Save