Skip to content

Commit

Permalink
Added volume instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
qtsathish committed Mar 28, 2021
1 parent 88a7731 commit 79da191
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mar21/Apache/Dockerfile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ LABEL author="khaja ibrahim"
LABEL organization="QualityThought" LABEL organization="QualityThought"
RUN apt update && apt-get install apache2 -y && apt install curl -y RUN apt update && apt-get install apache2 -y && apt install curl -y
HEALTHCHECK CMD curl -f http://localhost/ || exit 1 HEALTHCHECK CMD curl -f http://localhost/ || exit 1
VOLUME ["/var/www/html"]
EXPOSE 80 EXPOSE 80
CMD ["apache2ctl", "-D", "FOREGROUND"] CMD ["apache2ctl", "-D", "FOREGROUND"]

0 comments on commit 79da191

Please sign in to comment.