Cleanup code / move small changes in pug files to Dockerfile (login.pug/share.pug) and use ARG (variables to set text in them)

This commit is contained in:
Simon M. Haller-Seeber
2020-05-18 17:04:44 +02:00
parent c2d50da458
commit 8da5b9afb2
5 changed files with 25 additions and 285 deletions

View File

@@ -1,6 +1,9 @@
include .env
build:
docker build -t "ldap-overleaf-sl" ldap-overleaf-sl
build:
docker build --build-arg login_text="${LOGIN_TEXT}" \
--build-arg collab_text="${COLLAB_TEXT}" \
-t "ldap-overleaf-sl" ldap-overleaf-sl
clean: check_clean
docker-compose down