Skip to content

Commit

Permalink
🚚 rename .env -> .env.example
Browse files Browse the repository at this point in the history
Even though we were using the file to tell which variables should be
passed down to the container without actually setting the value in the
.env, this is detected as a code smell by vulnerability scanners.
  • Loading branch information
AndreMiras committed Sep 26, 2024
1 parent a803f22 commit ac868b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ docker/build:
docker build --tag=$(DOCKER_IMAGE_LINUX) .

docker/run:
docker run -it --rm --env-file .env $(DOCKER_WORKDIR_FLAG) $(DOCKER_VOLUME_FLAG) $(DOCKER_IMAGE_LINUX)
docker run -it --rm --env-file .env.example $(DOCKER_WORKDIR_FLAG) $(DOCKER_VOLUME_FLAG) $(DOCKER_IMAGE_LINUX)

docker/run/shell:
docker run -it --rm --env-file .env $(DOCKER_WORKDIR_FLAG) $(DOCKER_VOLUME_FLAG) --entrypoint /bin/sh $(DOCKER_IMAGE_LINUX)
docker run -it --rm --env-file .env.example $(DOCKER_WORKDIR_FLAG) $(DOCKER_VOLUME_FLAG) --entrypoint /bin/sh $(DOCKER_IMAGE_LINUX)

0 comments on commit ac868b9

Please sign in to comment.