From 1342be5723b28fae363a370548512e5e465b5882 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Fri, 31 Mar 2023 08:00:24 -0600 Subject: [PATCH] Add a temporary version of config to the hosting container Former-commit-id: 3372cac35e282e7b6d7d6963fe4d5f94d30c31d2 --- app/data/container-build/cerc-laconic-console-host/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/data/container-build/cerc-laconic-console-host/Dockerfile b/app/data/container-build/cerc-laconic-console-host/Dockerfile index d2bac367..de477a8c 100644 --- a/app/data/container-build/cerc-laconic-console-host/Dockerfile +++ b/app/data/container-build/cerc-laconic-console-host/Dockerfile @@ -50,6 +50,10 @@ RUN yarn global add http-server # Globally install the payload web app package RUN yarn global add @cerc-io/console-app +# Temp hack to fix up config +RUN cd /usr/local/share/.config/yarn/global/node_modules/@cerc-io/console-app/dist/production && \ + find . -type f -exec sed -i 's#LACONIC_HOSTED_CONFIG_SERVICES_WNS_SERVER#http://laconicd:9473/api#g' {} + + # Expose port for http EXPOSE 80