diff --git a/Dockerfile b/Dockerfile index f98348cf607acd86dd0ba66b2e3bb7b9c5ec41f3..57e5f1cbbc23a5b4575d225adfa71b2a7d9e497e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,4 +40,4 @@ COPY --from=builder /app/orchestrator-core-gui/src/env.js.template . COPY --from=builder /app/orchestrator-core-gui/src/custom/custom_env.js.template . EXPOSE 8080 -CMD [ "/bin/ash", "-c", "envsubst < env.js.template > /usr/share/nginx/html/env.js && envsubst < src/custom/custom_env.js.template >> /usr/share/nginx/html/env.js && exec nginx -g 'daemon off;'"] +CMD [ "/bin/ash", "-c", "envsubst < env.js.template > /usr/share/nginx/html/env.js && envsubst < custom_env.js.template >> /usr/share/nginx/html/env.js && exec nginx -g 'daemon off;'"] diff --git a/custom/custom_env.js b/custom/custom_env.js deleted file mode 100644 index 050a7d87e95a14cdae4f31edfbd605708c25890b..0000000000000000000000000000000000000000 --- a/custom/custom_env.js +++ /dev/null @@ -1,2 +0,0 @@ -// eslint-disable-next-line no-template-curly-in-string -window.__env__.OPA_BUNDLE_URL = "${REACT_APP_OPA_BUNDLE_URL}";