add docker push command for lazyos
This commit is contained in:
10
Makefile
10
Makefile
@@ -27,7 +27,6 @@ docker-build: enable-multiplatform-build
|
||||
-t telikz/lazypm:latest \
|
||||
--push .
|
||||
|
||||
|
||||
docker-run:
|
||||
@docker run -it -p 8080:8080 -v "$PWD:/data" telikz/lazypm:latest start
|
||||
|
||||
@@ -36,11 +35,11 @@ docker-push:
|
||||
|
||||
os-build: build
|
||||
@cp ./bin/survey ./build/survey
|
||||
@docker build -t lazyos ./build
|
||||
@docker build -t telikz/lazypm:os ./build
|
||||
@echo "Built lazyos image successfully. You can run it using 'make os-run'."
|
||||
|
||||
os-run: os-build
|
||||
@docker run -d --name=lazyos -e PUID=1000 -e PGID=1000 -e TZ=Etc/UTC -p 3000:3000 -p 3001:3001 --shm-size="1gb" lazyos:latest
|
||||
@docker run -d --name=lazyos -e PUID=1000 -e PGID=1000 -e TZ=Etc/UTC -p 3000:3000 -p 3001:3001 --shm-size="1gb" telikz/lazypm:os
|
||||
@echo "Started lazyos container successfully. You can access the web interface at http://localhost:3000."
|
||||
|
||||
os-stop:
|
||||
@@ -48,6 +47,9 @@ os-stop:
|
||||
@docker rm lazyos
|
||||
@echo "Stopped and removed lazyos container successfully."
|
||||
|
||||
os-push:
|
||||
@docker push telikz/lazypm:os
|
||||
|
||||
start:
|
||||
@go run ./cmd/survey start
|
||||
|
||||
@@ -101,4 +103,4 @@ install-cli: completions
|
||||
@sudo cp ./bin/pm_bash.sh /etc/bash_completion.d/pm
|
||||
|
||||
|
||||
.PHONY: tidy clean build cli tui web dev tw completions install-bash-temp install-zsh-temp install-fish-temp install-powershell-temp install-cli
|
||||
.PHONY: tidy clean build cli tui web dev tw completions install-bash-temp install-zsh-temp install-fish-temp install-powershell-temp install-cli
|
||||
|
||||
Reference in New Issue
Block a user