From e4c4cdce4188c788482ef673c05455653b796ea1 Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Tue, 17 Feb 2026 20:19:33 +0300 Subject: [PATCH] update justfile scripts for docker --- Justfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Justfile b/Justfile index 61afb7f..288500a 100644 --- a/Justfile +++ b/Justfile @@ -1,8 +1,11 @@ dev: PODCASTS_DIRPATH=./podcasts go run . -build: - docker build -t podcaster . +build tag="latest": + docker build -t git.zatch.ru/tsivinsky/podcaster:{{tag}} . + +push tag="latest": + docker push git.zatch.ru/tsivinsky/podcaster:{{tag}} run: docker run -p 5000:5000 --name podcaster -e PODCASTS_DIRPATH=/podcasts -e DB_PATH=/db/sqlite.db -v ./db:/db -v ./podcasts:/podcasts podcaster:latest