fix: local dev port 9234, Nomad dynamic ports unchanged
All checks were successful
Build and Deploy Erika CV / build-and-deploy (push) Successful in 35s
All checks were successful
Build and Deploy Erika CV / build-and-deploy (push) Successful in 35s
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,7 +1,7 @@
|
||||
.PHONY: run install docker-build docker-run stop
|
||||
|
||||
run: install
|
||||
FLASK_ENV=development python app.py
|
||||
FLASK_ENV=development PORT=9234 python3 app.py
|
||||
|
||||
install:
|
||||
pip3 install -r requirements.txt --quiet
|
||||
@@ -10,7 +10,7 @@ docker-build:
|
||||
docker build -t web-erika .
|
||||
|
||||
docker-run: docker-build
|
||||
docker run --rm -p 5000:5000 web-erika
|
||||
docker run --rm -p 9234:9234 -e PORT=9234 web-erika
|
||||
|
||||
stop:
|
||||
@docker ps -q --filter name=web-erika | xargs -r docker stop
|
||||
|
||||
Reference in New Issue
Block a user