Add a temporary version of config to the hosting container

Former-commit-id: 3372cac35e
This commit is contained in:
David Boreham 2023-03-31 08:00:24 -06:00
parent d25de90df2
commit 1342be5723

View File

@ -50,6 +50,10 @@ RUN yarn global add http-server
# Globally install the payload web app package # Globally install the payload web app package
RUN yarn global add @cerc-io/console-app 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 port for http
EXPOSE 80 EXPOSE 80