updating readme and fixing docker file copys

This commit is contained in:
root 2018-09-21 09:11:34 -07:00
parent b9cab3fb88
commit 829963dce5
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,4 @@
FROM php:5.6-apache
COPY gennum.php subnets.html img/ /var/www/html/
COPY gennum.php subnets.html /var/www/html/
COPY img/* /var/www/html/img/

View File

@ -1,2 +1,10 @@
# subnets
Visual subnet calculator as seen at http://www.davidc.net/sites/default/subnets/subnets.html
# Run with docker
```
cd <project folder>
docker build . -t subnets
docker run -d -p 5001:80 --name subnets subnets
```