aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker/run.sh
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-25 21:05:40 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-25 21:05:44 +0100
commitf38fbd5b58701e9c948c3a82e5598ab366d534b3 (patch)
tree422b0438c58f3e66e5bc2f68db59013a755c1d1d /docker/run.sh
parentdocker: rename schedule.sh to run_cron.sh (diff)
downloadcgitize-f38fbd5b58701e9c948c3a82e5598ab366d534b3.tar.gz
cgitize-f38fbd5b58701e9c948c3a82e5598ab366d534b3.zip
docker: add run.sh
Diffstat (limited to 'docker/run.sh')
-rwxr-xr-xdocker/run.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/run.sh b/docker/run.sh
new file mode 100755
index 0000000..6fb7ee3
--- /dev/null
+++ b/docker/run.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+set -o errexit -o nounset -o pipefail
+
+cd /usr/src
+exec python3 -m cgitize.main "$@"