From ca83b252b0c8b8da28932c241c4ba78bf2f42519 Mon Sep 17 00:00:00 2001 From: PAlexanderFranklin Date: Wed, 10 Apr 2024 16:03:58 -0700 Subject: [PATCH] Add clean image building, image pushing instructions --- README.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8b25b47b..8dd303dd 100644 --- a/README.md +++ b/README.md @@ -79,9 +79,9 @@ f"SITE_ADMIN_PASS={admin_pass}\n", -from inside the frappe-docker repo: + - + `APPS_JSON_BASE64=$(base64 -w 0 ./apps.json)` @@ -94,7 +94,20 @@ from inside the frappe-docker repo: --build-arg=NODE_VERSION=18.18.2 \ --build-arg=APPS_JSON_BASE64=$APPS_JSON_BASE64 \ --tag=local-frappe \ - --file=images/custom/Containerfile .` + --file=images/custom/Containerfile \ + --rm \ + --no-cache \ + .` + + + +sudo docker image tag NAME:TAG githaven.org/shiloh/NAMEOFREPO:TAG +sudo docker login githaven.org +setup credential service to hide password +sudo docker push githaven.org/shiloh/NAMEOFREPO:TAG +https://docs.gitea.com/packages/packages/container + + `sudo python3 easy-installer.py --prod --email support@lasthourhosting.org --site erp.sprinklersnorthwest.com`