diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cd84980 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ + +compile-web: + cd web && inliner page.html > ../index-inlined-minified.html + +run: + go run . + +docker-build: + docker build -t errorpages . + +docker-run: + docker run -itd --rm -p 8000:8000 -e BIND="0.0.0.0" -e PORT="8000" --name errorpages errorpages diff --git a/compile-web.sh b/compile-web.sh deleted file mode 100755 index 5ff35cc..0000000 --- a/compile-web.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh -cd web -inliner page.html > ../index-inlined-minified.html