Add docker build cmd in Makefile
This commit is contained in:
parent
3e435673ea
commit
22854bf699
4
Makefile
4
Makefile
@ -16,6 +16,10 @@ build-frontend: ## Build frontend
|
|||||||
build-backend: ## Build backend
|
build-backend: ## Build backend
|
||||||
$Q $(go) build -ldflags '$(LDFLAGS)' -o .
|
$Q $(go) build -ldflags '$(LDFLAGS)' -o .
|
||||||
|
|
||||||
|
.PHONY: build-docker
|
||||||
|
build-docker: ## Build docker
|
||||||
|
docker build . -t filebrowser:dev
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: | test-frontend test-backend ## Run all tests
|
test: | test-frontend test-backend ## Run all tests
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user