Skip to content

Commit 1a0df5d

Browse files
committed
Move .env file creation to web target
1 parent 254692a commit 1a0df5d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

dev/local/Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ web:
105105
@# Run the web server
106106
@# MODULE_NAME specifies the location of the `app` variable, the actual WSGI application object to run.
107107
@# see https://github.com/tiangolo/meinheld-gunicorn-docker#module_name
108+
@touch $(ENV_FILE)
108109
@docker run --rm -p 127.0.0.1:10080:80 \
109110
$(M1) \
110111
--env-file $(ENV_FILE) \
@@ -172,7 +173,7 @@ redis:
172173
--name delphi_redis delphi_redis >$(LOG_REDIS) 2>&1 &
173174

174175
.PHONY=all
175-
all: env db web py redis
176+
all: db web py redis
176177

177178
.PHONY=test
178179
test:
@@ -213,7 +214,3 @@ sql:
213214
.PHONY=clean
214215
clean:
215216
@docker images -f "dangling=true" -q | xargs docker rmi >/dev/null 2>&1
216-
217-
.PHONY=env
218-
env:
219-
@touch $(ENV_FILE)

0 commit comments

Comments
 (0)