Add a temporary version of config to the hosting container

This commit is contained in:
David Boreham 2023-03-31 08:00:24 -06:00
parent c45dd545dd
commit 3372cac35e

View File

@ -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