Refactor Dockerfile for multi-stage build

This commit is contained in:
geraldwuhoo 2024-08-16 09:07:24 -07:00 committed by Matt Brubeck
parent dbd6eab17f
commit fcbf73dcef
4 changed files with 30 additions and 11 deletions

View file

@ -1,6 +1,8 @@
#!/bin/sh
exec agate --content /gmi/ \
--hostname ${HOSTNAME} \
--lang ${LANG}
echo "Using hostname ${HOSTNAME:-localhost}"
echo "Using lang ${LANG:-en-US}"
exec agate --content /gmi/ \
--hostname "${HOSTNAME:-localhost}" \
--lang "${LANG:-en-US}"