Skip to content

Commit

Permalink
Fixing reading of env file
Browse files Browse the repository at this point in the history
  • Loading branch information
marcieltorres committed Feb 5, 2024
1 parent 9f086cc commit b032910
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# loading and exporting all env vars from .env file automatically
include .env
export $(shell sed 's/=.*//' .env)
ifneq (,$(wildcard ./.env))
include .env
export
endif

APP_NAME="python-boilerplate-project"
IMAGE_NAME="python-boilerplate-project"
Expand Down

0 comments on commit b032910

Please sign in to comment.