From 0bc044646c3e20ef8aa37c9f1420f04cf40ea005 Mon Sep 17 00:00:00 2001 From: jwbensley Date: Fri, 6 Oct 2023 19:21:57 +0100 Subject: [PATCH] Add entrypoint to stats container run command --- docker/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/README.md b/docker/README.md index bd0f630..4522e70 100644 --- a/docker/README.md +++ b/docker/README.md @@ -109,19 +109,19 @@ done Generate stats in the DB for a specific day: ```shell -docker-compose run --rm --name tmp_stats dnas_stats -- \ +docker-compose run --rm --name tmp_stats --entrypoint /opt/pypy dnas_stats -- \ /opt/dnas/dnas/scripts/stats.py --update --enabled --daily --ymd "20230101" ``` Generate and push a report to git for a specific day: ```shell -docker-compose run --rm --name tmp_report dnas_stats -- \ +docker-compose run --rm --name tmp_report --entrypoint /opt/pypy dnas_stats -- \ /opt/dnas/dnas/scripts/git_reports.py --generate --publish --ymd "20230101" ``` Tweet for a specific day: ``` -docker-compose run --rm --name tmp_tweet dnas_stats -- \ +docker-compose run --rm --name tmp_tweet --entrypoint /opt/pypy dnas_stats -- \ /opt/dnas/dnas/scripts/tweet.py --generate --tweet --ymd "20230101" ```