Update build
This commit is contained in:
10
Makefile
10
Makefile
@@ -2,3 +2,13 @@ docker-build:
|
||||
docker build -t liffsh/lilog:latest --progress=plain ./
|
||||
docker-run:
|
||||
docker run -v /var/run/docker.sock:/var/run/docker.sock liffsh/lilog:latest
|
||||
ship:
|
||||
docker build -t liffsh/lilog:latest . && docker push liffsh/lilog:latest
|
||||
dev:
|
||||
docker run --rm -it \
|
||||
-v $$(pwd):/app \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-w /app \
|
||||
-p 8080:8080 \
|
||||
golang:latest \
|
||||
sh -c "go install github.com/air-verse/air@latest && air"
|
||||
|
||||
Reference in New Issue
Block a user