123456789101112131415161718192021222324252627 |
- PORT=80
- run:
- poetry run ./render.py
- min:
- poetry run htmlmin _build/index.html _build/index.html
- poetry:
- pip3 install -q poetry
- poetry-install:
- poetry install -q
- prod: poetry poetry-install run min
- ci: poetry-install run
- docker-build:
- docker build -t opengaming/osgameclones .
- docker-run:
- -docker rm -f osgameclones-site
- docker run -d -p${PORT}:80 --name osgameclones-site opengaming/osgameclones
- .PHONY:
- run prod docker-build docker-run
|