From 7d438a5225e8776cc9722dcba3bb1c46c662c4c7 Mon Sep 17 00:00:00 2001 From: Becky Smith Date: Thu, 17 Oct 2024 13:04:21 +0100 Subject: [PATCH] Add comment to prod.sh entrypoint The equivalent comment is already in the Dockerfile, but this is included now with the entrypoint script for the benefit of future us coming across it again. --- docker/entrypoints/prod.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/entrypoints/prod.sh b/docker/entrypoints/prod.sh index 21c89944..a517d504 100755 --- a/docker/entrypoints/prod.sh +++ b/docker/entrypoints/prod.sh @@ -1,5 +1,11 @@ #!/bin/bash +# Note: this is set as the default CMD in the Dockerfile +# In production, dokku extracts the Procfile and uses the commands defined +# there as the entrypoints, so this script is ignored in production. It is +# used only if we're running the production service with docker compose +# https://dokku.com/docs/processes/process-management/#procfile + set -euo pipefail just run bot