From 335e8dc59f9a1b55059e2a5643dfa152ef99734c Mon Sep 17 00:00:00 2001 From: "Felix T.J. Dietrich" Date: Tue, 13 Aug 2024 23:44:42 +0200 Subject: [PATCH] add change --- webapp/Dockerfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/webapp/Dockerfile b/webapp/Dockerfile index 6b420db2..34d290f5 100644 --- a/webapp/Dockerfile +++ b/webapp/Dockerfile @@ -4,18 +4,10 @@ WORKDIR /app COPY ./ /app/ -RUN printenv -RUN cat .env -#11 0.081 COOLIFY_URL=ws8008.35.207.83.232.sslip.io -#11 0.081 COOLIFY_BRANCH=chore/configure-server-url -#11 0.081 COOLIFY_CONTAINER_NAME=ws80008-213620030145 -#11 0.081 NG_APPLICATION_SERVER_URL=https://api.$COOLIFY_URL - +# Fix buggy replacement of COOLIFY_URL in .env RUN COOLIFY_URL_VALUE=$(grep '^COOLIFY_URL=' .env | cut -d '=' -f2) && \ sed -i "s|\$COOLIFY_URL|$COOLIFY_URL_VALUE|g" .env -RUN cat .env - RUN npm install RUN npm run build