SHARE
TWEET

Untitled

a guest Jun 18th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RUN apt-get update
  2. RUN apt-get -y install apache2
  3. WORKDIR /var/www/html/
  4. RUN rm -f index.html
  5. RUN touch index.html
  6. RUN echo "welcome" > index.html
  7. RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
  8. EXPOSE 8080
  9. CMD ["apachectl", "-D", "FOREGROUND"]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top