Skip to content

Commit

Permalink
Remove default promgen command for docker entrypoint
Browse files Browse the repository at this point in the history
By having a default value here, it makes it more difficult if you want
to run a one-off container for testing. Removing the default makes it
easier if one wants to run /bin/sh or any other command. The remaining
entries are just shortcuts for celery/gunicorn.
  • Loading branch information
kfdm committed Jul 28, 2023
1 parent 5158d12 commit a668ee2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ web)
shift
set -- gunicorn "promgen.wsgi:application" "$@"
;;
*)
# Shortcuts for some commonly used django commands
set -- promgen "$@"
;;
esac

# Finally exec our command
Expand Down

0 comments on commit a668ee2

Please sign in to comment.