add docker push command for lazyos

This commit is contained in:
Robin Olsen
2026-02-26 18:54:23 +01:00
parent 43606b479f
commit f0a4630866

View File

@@ -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