From 5270d471008b547f96d57a521c85bdf79f794470 Mon Sep 17 00:00:00 2001 From: Carlos Mogas da Silva Date: Sun, 21 Oct 2018 23:39:57 +0100 Subject: [PATCH] Make entrypoint.sh executable --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a75c75f..5e06770 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,12 @@ FROM richarvey/nginx-php-fpm ENV WEBROOT="/webroot/" ENV SECRET_KEY="a1b2c3d4e5f6g7h8i9j0k" -RUN mkdir ${WEBROOT} && mkdir /storage +COPY entrypoint.sh / + +RUN mkdir ${WEBROOT} && mkdir /storage && chmod +x /entrypoint.sh VOLUME ["/storage"] COPY share_v2.php ${WEBROOT} -COPY entrypoint.sh / ENTRYPOINT /entrypoint.sh