From ddca809530e6274c31da03db837e5d2d4b1df5eb Mon Sep 17 00:00:00 2001 From: Francia Csaba Date: Tue, 23 Jan 2024 13:01:27 +0100 Subject: [PATCH] Update README with docker build arguments --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a11c9c..213b54d 100644 --- a/README.md +++ b/README.md @@ -62,5 +62,5 @@ In the top directory, run `pytest app/tests`. Based on [tiangolo/uvicorn-gunicorn:python3.9-slim](https://github.com/tiangolo/uvicorn-gunicorn-docker) -- build `docker build -t amarillo .` +- build `docker build -t amarillo -t latest --build-arg='PACKAGE_REGISTRY_URL=$PACKAGE_REGISTRY_URL' --build-arg="PLUGINS=amarillo-metrics amarillo-enhancer" --secret id=AMARILLO_REGISTRY_CREDENTIALS,src=credentials . ` - run `docker run --rm --name amarillo -p 8000:80 -e MODULE_NAME=amarillo.app.main -e ADMIN_TOKEN=$ADMIN_TOKEN -e RIDE2GO_TOKEN=$RIDE2GO_TOKEN -e METRICS_USER=$METRICS_USER -e METRICS_PASSWORD=$METRICS_PASSWORD -e TZ=Europe/Berlin -v $(pwd)/data:/app/data amarillo`