15 lines
446 B
Makefile
15 lines
446 B
Makefile
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"
|