From eb3a66d64acb691bab1f73e3f582e1fa112090c1 Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sat, 21 Sep 2024 19:30:22 +0000 Subject: [PATCH] Updated purpose --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e8f4e48..b17c100 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,10 @@ # docker-cron-git -A docker image that let's the user define cronjobs, which in turn have access to the `git` command and the python interpreter. - +A docker container that pulls a git repo (updates it) every minute with a cronjob. ## Purpose -There are many scenarios where such a container could help. For example (as I use it), one could run this container and implement a small python script that pulls an existing git repository. Then, by adding the python script (could also be shell of course!) to the container's crontab file, this pull runs frequently. - -Concrete application: use this image to pull a hugo built website (living in a public git repo) to a local folder, so that another docker container can serve the most recent files. +There are many scenarios where such a container could help. For example (as I use it), this image could be used to pull a hugo built website (living in a public git repo) to a local folder, so that another docker container can serve the most recent files. ## License