Dockerize inliner command
This commit is contained in:
parent
c50489ff8d
commit
b9872ed624
2 changed files with 13 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -2,4 +2,8 @@ IMAGES=$(wildcard *.jpg *.png)
|
|||
CSSFILES=$(wildcard *.css)
|
||||
|
||||
index.min.html: index.html $(CSSFILES) $(IMAGES)
|
||||
inliner "$<" > "$@"
|
||||
docker build -t inliner:latest .
|
||||
docker run -i --rm inliner:latest <"$<" >"$@"
|
||||
|
||||
clean:
|
||||
rm -f index.min.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue