Skip to content

Commit

Permalink
Add comment to prod.sh entrypoint
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rebkwok committed Oct 17, 2024
1 parent a0001fa commit 7d438a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/entrypoints/prod.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7d438a5

Please sign in to comment.