Various fixes
This commit is contained in:
@@ -7,11 +7,7 @@ if [ "${1#-}" != "$1" ]; then
|
||||
fi
|
||||
|
||||
if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then
|
||||
# Detect the host IP
|
||||
export DOCKER_BRIDGE_IP
|
||||
DOCKER_BRIDGE_IP=$(ip ro | grep default | cut -d' ' -f 3)
|
||||
|
||||
if [ "$SYMFONY_ENV" = 'prod' ]; then
|
||||
if [ "$APP_ENV" = 'prod' ]; then
|
||||
composer install --prefer-dist --no-dev --no-progress --no-suggest --optimize-autoloader --classmap-authoritative --no-interaction
|
||||
else
|
||||
composer install --prefer-dist --no-progress --no-suggest --no-interaction
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
FROM nginx:1.11-alpine
|
||||
FROM nginx:1.13-alpine
|
||||
|
||||
COPY conf.d /etc/nginx/conf.d/
|
||||
|
||||
Reference in New Issue
Block a user