ITEM_HOST
This commit is contained in:
12
Makefile
12
Makefile
@@ -2,12 +2,18 @@
|
||||
|
||||
all: clean docker publish-kind publish-registry
|
||||
|
||||
|
||||
linux:
|
||||
./local_run.sh
|
||||
|
||||
linux-traefik:
|
||||
purge:
|
||||
lsof -t -i:8080 | xargs kill | true
|
||||
|
||||
run-dev:
|
||||
flutter run -d linux --dart-define=AUTH_MODE=true
|
||||
|
||||
dev: purge run-dev
|
||||
|
||||
run:
|
||||
flutter run
|
||||
|
||||
@@ -21,7 +27,7 @@ clean:
|
||||
flutter clean
|
||||
|
||||
docker:
|
||||
DOCKER_BUILDKIT=1 docker build -t oc/oc-front:0.0.1 -f Dockerfile .
|
||||
DOCKER_BUILDKIT=1 docker build -t oc/oc-front:0.0.1 --build-arg HOST=$(HOST) -f Dockerfile .
|
||||
docker tag oc/oc-front:0.0.1 oc/oc-front:latest
|
||||
|
||||
publish-kind:
|
||||
@@ -30,4 +36,4 @@ publish-kind:
|
||||
publish-registry:
|
||||
@echo "TODO"
|
||||
|
||||
.PHONY: build run clean docker publish-kind publish-registry
|
||||
.PHONY: build run clean docker publish-kind publish-registry
|
||||
|
||||
Reference in New Issue
Block a user