Skip to content

Commit

Permalink
continue if .config.env not present
Browse files Browse the repository at this point in the history
  • Loading branch information
lrakai committed Oct 13, 2023
1 parent c38513e commit 631ed28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ RUN bash prune_azure_mgmt_libs.sh

WORKDIR /app
COPY . /app
# move config.env to .env if .config.env exists
RUN test -f .config.env && mv .config.env .env
# move config.env to .env if .config.env exists but continue if it doesn't
RUN test -f .config.env && mv .config.env .env || true

# Creates a non-root user with an explicit UID and adds permission to access the /app folder
# For more info, please refer to https://aka.ms/vscode-docker-python-configure-containers
Expand Down

0 comments on commit 631ed28

Please sign in to comment.