modernizing the dependencies
This commit is contained in:
1 parent
a1c6b656d7
commit
2bd853e9b5
12 files changed
+33
-36
No files matched your search
@@ -1,7 +1,7 @@
|
||||
# DEVELOPMENT SERVER
|
||||
|
||||
build-dev:
|
||||
docker build -t max-dev -f Dockerfile.dev .
|
||||
docker build -t max:dev -f Dockerfile.dev .
|
||||
|
||||
run-dev: | build-dev
|
||||
# bash -c "trap 'docker-compose -f dc.dev.yml down' EXIT; MAX_COMMAND=\"flask run --host 0.0.0.0 --port 8000\" docker-compose -f dc.dev.yml up --build"
|
||||
@@ -29,7 +29,7 @@ run-cleanup: | build-dev
|
||||
# PROD
|
||||
|
||||
build-prod:
|
||||
docker build -t max .
|
||||
docker build -t max:$(shell cat VERSION) .
|
||||
|
||||
run-prod:
|
||||
docker-compose up -d
|
||||
|
||||
Reference in new issue
Block a user