diff --git a/Dockerfile b/Dockerfile index b1eb017..4863ead 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,5 @@ FROM php:5.6-apache EXPOSE 80 WORKDIR /var/www/html/ COPY . /var/www/html -RUN cp -a example6.html index.html \ - && ln -s /var/www/html /var/www/html/speedtest +RUN ln -s /var/www/html /var/www/html/speedtest CMD ["/usr/local/bin/apache2-foreground"] diff --git a/docker-compose.yml b/docker-compose.yml index cbfde49..00311d3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,3 +6,5 @@ services: image: adolfintel/speedtest:${TAG:-latest} ports: - "8888:80" + volumes: + - .:/var/www/html diff --git a/github.png b/github.png new file mode 100644 index 0000000..8a973ca Binary files /dev/null and b/github.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..824f9ab --- /dev/null +++ b/index.html @@ -0,0 +1,113 @@ + + +
+ + + ++ Speedtest + + +
++ Your IP: +
++
Mbit/s
++
Mbit/s
++
ms
++
ms
+
+ Created by
adolfintel
+