Skip to content

Commit

Permalink
[Upd] Update docker entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
LaChope authored May 10, 2022
1 parent e1ffc64 commit f6e623e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
touch .env
#!/usr/bin/env sh
set -eu

for envvar in "$@"
do
echo "$envvar" >> .env
done
envsubst '${API_URL} ${APP_TITLE} ${LANGUAGE} ${NAVIGATOR_LANGUAGE} ${BASENAME}' < /etc/nginx/config.js.template > /var/www/config.js

exec "$@"

0 comments on commit f6e623e

Please sign in to comment.