Simplified entrypoint

This commit is contained in:
William Miceli
2019-05-15 12:18:08 -04:00
parent fe9530fb64
commit a8bc3b4a56
2 changed files with 2 additions and 3 deletions

View File

@@ -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"]
CMD ["sh", "/entrypoint.sh"]