From f47dedc5950013a9c96466463febc9c5a74d0f00 Mon Sep 17 00:00:00 2001 From: tycrek Date: Wed, 15 Jun 2022 16:59:50 -0600 Subject: [PATCH] Updated README with new Docker update method --- .github/README.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/README.md b/.github/README.md index 405095f..89544d6 100644 --- a/.github/README.md +++ b/.github/README.md @@ -162,19 +162,10 @@ npm run setup && docker-compose restart Easy! Just pull the changes & run this one-liner: ```bash -# Pull the latest version of ass -git pull - -# 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 +# Pull the latest version of ass and rebuild the image +git pull && docker compose build --no-cache && docker compose up -d ``` -- `--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? - `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.