feat: Makefile target docker/ save

This commit is contained in:
Settel 2022-03-09 09:34:55 +01:00
parent f150e7c300
commit a158735157
3 changed files with 8 additions and 1 deletions

View File

@ -34,6 +34,7 @@ build:
(cd client/ && yarn build)
(cd client/ && yarn generate)
$(MAKE) -C server build
$(MAKE) -C docker build save
docker:
$(MAKE) -C docker

1
docker/.gitignore vendored
View File

@ -1 +1,2 @@
files/knowyt
knowyt-*.tar

View File

@ -8,5 +8,10 @@ run:
stop:
podman stop knowyt
save:
rm -f knowyt-latest.tar
podman save knowyt:latest -o knowyt-latest.tar
cd .. && ls -lh docker/knowyt-latest.tar
clean:
rm -f files/knowyt
rm -f files/knowyt knowyt-latest.tar