Files
inventory/inventory/Makefile
2026-04-01 14:05:17 +02:00

18 lines
268 B
Makefile

run:
@cd src ; go run *.go
build:
@cd src ; go mod tidy ; go build -o ../bin/inventory *.go
clean:
@rm ./bin/inventory
image:
@docker build -t inventory:latest .
start:
@docker run -d -p 80:80 --name inventory inventory:latest
stop:
@docker rm -f inventory