This commit is contained in:
@@ -70,11 +70,6 @@ cd /workspace
|
||||
# Install PHP dependencies
|
||||
composer install
|
||||
|
||||
# CakePHP: CRLF in bin/cake (common after Windows checkouts) breaks the shell script and PHP_SAPI probing
|
||||
if [ -f bin/cake ]; then
|
||||
sed -i 's/\r$//' bin/cake
|
||||
fi
|
||||
|
||||
# Copy the environment file to the repository's environments directory
|
||||
if [ -f /environment/.env ]; then
|
||||
cp /environment/.env /workspace/.env
|
||||
@@ -183,9 +178,5 @@ if [ -z "$START_COMMAND" ]; then
|
||||
START_COMMAND='php -S 0.0.0.0:8000'
|
||||
fi
|
||||
|
||||
if [ -f /workspace/bin/cake ]; then
|
||||
sed -i 's/\r$//' /workspace/bin/cake
|
||||
fi
|
||||
|
||||
# Always run the app under pm2-runtime
|
||||
exec pm2-runtime "$START_COMMAND"
|
||||
|
||||
Reference in New Issue
Block a user