From 6cbb384d8b772454a5a1d39770d42446dff4f9d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Tue, 5 Jan 2021 13:50:12 +0100 Subject: [PATCH] fix: ensure bin/console is always executable (#100) --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ace1f14..2ebaf0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -92,7 +92,8 @@ RUN set -eux; \ composer install --prefer-dist --no-dev --no-progress --no-scripts --no-interaction; \ composer dump-autoload --classmap-authoritative --no-dev; \ composer symfony:dump-env prod; \ - composer run-script --no-dev post-install-cmd; sync + composer run-script --no-dev post-install-cmd; \ + chmod +x bin/console; sync VOLUME /srv/app/var COPY docker/php/docker-healthcheck.sh /usr/local/bin/docker-healthcheck