added Makefile

This commit is contained in:
Sven Vogel 2023-11-24 23:42:14 +01:00
parent f55717de17
commit 6e2f5d4b1a
2 changed files with 12 additions and 3 deletions

12
Makefile Normal file
View File

@ -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

View File

@ -1,3 +0,0 @@
#!/usr/bin/env sh
cd web
inliner page.html > ../index-inlined-minified.html