Add clean image building, image pushing instructions
This commit is contained in:
parent
9eca8b7d4c
commit
ca83b252b0
19
README.md
19
README.md
@ -79,9 +79,9 @@ f"SITE_ADMIN_PASS={admin_pass}\n",
|
||||
|
||||
<!-- f"SITES={quoted_sites}\n", -->
|
||||
|
||||
from inside the frappe-docker repo:
|
||||
<!-- from inside the frappe-docker repo: -->
|
||||
|
||||
<!-- Setup reference to our own repo -->
|
||||
<!-- Setup reference to our own erpnext 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 \
|
||||
.`
|
||||
|
||||
<!-- Push to githaven -->
|
||||
|
||||
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
|
||||
|
||||
<!-- Install erpnext for first time -->
|
||||
|
||||
`sudo python3 easy-installer.py --prod --email support@lasthourhosting.org --site erp.sprinklersnorthwest.com`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user