Skip to content

Commit

Permalink
After ~> Before: PHP-FPM takes the tty
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Oct 10, 2023
1 parent f5c75aa commit 0e4a183
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions php-nginx/8.2/ci-docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

if [ "$BEFORE_ENTRYPOINT" != "" ]; then
$BEFORE_ENTRYPOINT
fi

# first arg is `sh` or `bash`
if [ "$1" = 'sh' ] || [ "$1" = 'bash' ]; then
# GitLab Says:
Expand All @@ -13,7 +17,3 @@ else
nginx
/usr/local/bin/hiqdev-docker-entrypoint php-fpm "$@"
fi

if [ "$AFTER_ENTRYPOINT" != "" ]; then
$AFTER_ENTRYPOINT
fi

0 comments on commit 0e4a183

Please sign in to comment.