Merge pull request 'docker-test-new-config' (#79) from docker-test-new-config into docker-implementation
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #79pull/80/head
commit
a386d9bccb
@ -1,6 +0,0 @@
|
||||
FROM plugins/docker
|
||||
RUN apk update
|
||||
RUN apk add apache2
|
||||
RUN apk add apache2-utils
|
||||
EXPOSE 80
|
||||
CMD [“apache2ctl”, “-D”, “FOREGROUND”]
|
@ -0,0 +1,4 @@
|
||||
FROM httpd:2.4
|
||||
COPY ./public-html/ /usr/local/apache2/htdocs/
|
||||
CMD echo 'ServerName 127.0.0.1' >> /etc/httpd/conf/httpd.conf
|
||||
CMD systemctl reload httpd
|
@ -0,0 +1 @@
|
||||
Hello world
|
@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1>Hello World !</h1>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue