We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 62e5371 + 28165f2 commit 16d5fc2Copy full SHA for 16d5fc2
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM php:7.4.10-fpm-alpine3.11
+FROM php:7.4.11-fpm-alpine3.11
2
3
ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0" \
4
PHP_OPCACHE_MAX_ACCELERATED_FILES="10000" \
root/entrypoint.sh
@@ -10,12 +10,12 @@ touch /opt/app/storage/logs/worker.log
10
chown www-data:www-data -R /opt/app/storage
11
chown www-data:www-data -R /opt/app/bootstrap/cache
12
13
-# startup commands
14
-echo "Running startup commands..."
15
-php /usr/local/bin/startup-commands.php | bash
16
-
17
if [[ -n "$DB_HOST" || -n "$DB_PORT" ]]; then
18
wait-for-it.sh --host=$DB_HOST --port=$DB_PORT
19
fi
20
+# startup commands
+echo "Running startup commands..."
+php /usr/local/bin/startup-commands.php | bash
+
21
exec "$@"
0 commit comments