Skip to content

Commit

Permalink
Test dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
KarineGEO6 committed May 6, 2024
1 parent c23a58a commit b376db6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ COPY ./src .

# Check if .env exists, if it does, copy .env file
# Otherwise, set up environment variable from build arguments
RUN if [ ! -f .env ]; then \
echo "il y passe"; \
fi

RUN if [ ! -f .env ]; then \
echo "EDS_API_URL=${EDS_API_URL}" >> .env; \
echo "EDS_AUTH_URL=${EDS_AUTH_URL}" >> .env; \
Expand Down

0 comments on commit b376db6

Please sign in to comment.