Skip to content

Commit

Permalink
add change
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Aug 13, 2024
1 parent 2507728 commit 335e8dc
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 335e8dc

Please sign in to comment.