diff --git a/Dockerfile b/Dockerfile index 8d50582..56555b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,8 +45,7 @@ RUN sed -i 's/root \/home\/USER\/www\/html/root \/var\/www/g' /etc/nginx/conf.d/ && sed -i '49clisten.mode = 0660' /etc/php7/php-fpm.d/www.conf \ && sed -i 's/listen = 127.0.0.1:9000/listen = \/var\/run\/php-fpm.sock/g' /etc/php7/php-fpm.d/www.conf -# Include Startup Script -COPY /resources/ /resources/ +COPY /entrypoint.sh / EXPOSE 80 -CMD ["sh", "/resources/startup.sh"] \ No newline at end of file +CMD ["sh", "/entrypoint.sh"] \ No newline at end of file diff --git a/resources/startup.sh b/entrypoint.sh similarity index 100% rename from resources/startup.sh rename to entrypoint.sh