Make docker-entrypoint.sh executable only inside the container.

This commit is contained in:
Michael Stenta 2018-04-07 12:07:53 -04:00
parent 86504c086e
commit b1b36d8b73
2 changed files with 1 additions and 0 deletions

View File

@ -75,5 +75,6 @@ VOLUME /var/www/html
# Set the entrypoint.
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod u+x /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["apache2-foreground"]

0
docker-entrypoint.sh Executable file → Normal file
View File