19 lines
317 B
Makefile
19 lines
317 B
Makefile
|
build:
|
||
|
bundle exec jekyll build
|
||
|
docker build . -t atomaka.com
|
||
|
|
||
|
review:
|
||
|
docker exec -it atomaka.com sh
|
||
|
|
||
|
clean:
|
||
|
rm -r _site/
|
||
|
docker rm -f atomaka.com
|
||
|
|
||
|
test: clean build
|
||
|
docker run \
|
||
|
--name atomaka.com \
|
||
|
--publish 80:80 \
|
||
|
--env "DOMAIN=$$DOMAIN" \
|
||
|
--env "REDIRECT_DOMAIN=$$REDIRECT_DOMAIN" \
|
||
|
atomaka.com
|