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