diff --git a/root-fs/app/bin/entrypoint b/root-fs/app/bin/entrypoint index 4f55c14..5b27e75 100755 --- a/root-fs/app/bin/entrypoint +++ b/root-fs/app/bin/entrypoint @@ -28,11 +28,15 @@ if [ -f /data/.wikienv ]; then set -a source /data/.wikienv set +a + cat /data/.wikienv >> /home/bluespice/.bashrc + sed -i 's/^\([^=]\+\)/export \1/' /home/bluespice/.bashrc fi if [ -f /app/.env ]; then set -a source /app/.env set +a + cat /app/.env >> /home/bluespice/.bashrc + sed -i 's/^\([^=]\+\)/export \1/' /home/bluespice/.bashrc fi -exec sh -c "$@" \ No newline at end of file +exec sh -c "$@"