Make docker-entrypoint.sh executable only inside the container.
This commit is contained in:
parent
86504c086e
commit
b1b36d8b73
|
@ -75,5 +75,6 @@ VOLUME /var/www/html
|
||||||
|
|
||||||
# Set the entrypoint.
|
# Set the entrypoint.
|
||||||
COPY docker-entrypoint.sh /usr/local/bin/
|
COPY docker-entrypoint.sh /usr/local/bin/
|
||||||
|
RUN chmod u+x /usr/local/bin/docker-entrypoint.sh
|
||||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||||
CMD ["apache2-foreground"]
|
CMD ["apache2-foreground"]
|
||||||
|
|
Loading…
Reference in New Issue