Advertisement
uopspop

Untitled

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