Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RUN apt-get update
- RUN apt-get -y install apache2
- WORKDIR /var/www/html/
- RUN rm -f index.html
- RUN touch index.html
- RUN echo "welcome" > index.html
- RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
- EXPOSE 8080
- CMD ["apachectl", "-D", "FOREGROUND"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement