Compare commits
2 Commits
2e820c47b4
...
0265deae1b
Author | SHA1 | Date | |
---|---|---|---|
|
0265deae1b | ||
83558e898f |
@ -100,7 +100,7 @@ if [ -r artisan -a -e ${php}/.env ]; then
|
|||||||
|
|
||||||
# We only check for non mount points, in case this container has the app inside
|
# We only check for non mount points, in case this container has the app inside
|
||||||
mp=$(mp ${php})
|
mp=$(mp ${php})
|
||||||
if [ -n "${BUILD}" -o ${mp} -eq 0 ]; then
|
if [ -z "${BUILD}" -o ${mp} -eq 0 ]; then
|
||||||
echo " - Caching configuration..."
|
echo " - Caching configuration..."
|
||||||
CMD="php artisan optimize"
|
CMD="php artisan optimize"
|
||||||
( [ -n "${USE_SU}" ] && su ${SITE_USER} -s /bin/sh -c "${CMD}" ) || ${CMD}
|
( [ -n "${USE_SU}" ] && su ${SITE_USER} -s /bin/sh -c "${CMD}" ) || ${CMD}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user