Skip to content

Commit

Permalink
fix env
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Aug 20, 2024
1 parent 5e85b49 commit 6e5f84a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ WORKDIR /app

COPY ./ /app/

RUN ls -la
RUN cat .env*
# Ensure .env file exists
RUN mv .env* .env || true
RUN touch .env
RUN echo "Contents of .env file:" && cat .env
RUN cat .env

# Fix buggy replacement of COOLIFY_URL in .env
RUN COOLIFY_URL_VALUE=$(grep '^COOLIFY_URL=' .env | cut -d '=' -f2) && \
Expand Down

0 comments on commit 6e5f84a

Please sign in to comment.