Advertisement
uopspop

Untitled

Mar 21st, 2020
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. FROM alpine:latest
  2. RUN apk --update add apache2
  3. RUN rm -rf /var/cache/apk/*
  4. RUN cd /var/www/localhost/htdocs/ \
  5. && echo "<h3>I am Sam. I am taking this great Docker Course. Round 01<h3>" >> index.html
  6. RUN cd /var/www/localhost/htdocs/ \
  7. && echo "<h3>I am Sam. I am taking this great Docker Course. Round 02<h3>" >> index.html
  8. RUN cd /var/www/localhost/htdocs/ \
  9. && echo "<h3>I am Sam. I am taking this great Docker Course. Round 03<h3>" >> index.html
  10. ENTRYPOINT ["httpd", "-D", "FOREGROUND"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement