From a8bc3b4a5664194357f3f75eee50d54868ae3b6d Mon Sep 17 00:00:00 2001 From: William Miceli <1-WilliamMiceli@git.williammiceli.systems> Date: Wed, 15 May 2019 12:18:08 -0400 Subject: [PATCH] Simplified entrypoint --- Dockerfile | 5 ++--- resources/startup.sh => entrypoint.sh | 0 2 files changed, 2 insertions(+), 3 deletions(-) rename resources/startup.sh => entrypoint.sh (100%) 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