Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  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"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement