commit
e1884a5d78
4
Dockerfile
Normal file
4
Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM php:5.6-apache
|
||||
|
||||
COPY index.php gennum.php subnets.html /var/www/html/
|
||||
COPY img/* /var/www/html/img/
|
@ -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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user