🔧 Configure KI API URL from environment #86
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "configure-api-url-from-env"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With an entrypoint script, fill the configuration template from an
environment variable containing the KI API URL.
@ -21,0 +25,4 @@
COPY etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
COPY configure.sh /docker-entrypoint.d/
COPY --from=builder /dist .
That would make the
COPY
statements from lines 14 and 15 obsolete, right?Checkout
From your project repository, check out a new branch and test the changes.