Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 343 Bytes
# apache with php base image
FROM php:7.2-apache
# copy all contents to public html
COPY . /var/www/html
# cleanup as we don't have a seperate public folder
RUN rm /var/www/html/Dockerfile /var/www/html/entry.sh
# entry shell
COPY entry.sh /entry.sh
# make it executable
RUN chmod +x /entry.sh
# go for it!
CMD ["/bin/bash", "/entry.sh"]
You can’t perform that action at this time.