uopspop

Untitled

Mar 21st, 2020
148
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FROM alpine:latest
  2. ENV myworkspace /var/www/localhost/htdocs/
  3. RUN apk --update add apache2
  4. RUN rm -rf /var/cache/apk/*
  5. RUN cd ${myworkspace} \
  6. && echo "<h3>I am Sam. I am taking this great Docker Course. Round 01<h3>" >> index.html
  7. RUN cd ${myworkspace} \
  8. && echo "<h3>I am Sam. I am taking this great Docker Course. Round 02<h3>" >> index.html
  9. RUN cd ${myworkspace} \
  10. && echo "<h3>I am Sam. I am taking this great Docker Course. Round 03<h3>" >> index.html
  11. ENTRYPOINT ["httpd", "-D", "FOREGROUND"]
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×