feat: Makefile target docker/ save
This commit is contained in:
parent
f150e7c300
commit
a158735157
1
Makefile
1
Makefile
@ -34,6 +34,7 @@ build:
|
|||||||
(cd client/ && yarn build)
|
(cd client/ && yarn build)
|
||||||
(cd client/ && yarn generate)
|
(cd client/ && yarn generate)
|
||||||
$(MAKE) -C server build
|
$(MAKE) -C server build
|
||||||
|
$(MAKE) -C docker build save
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
$(MAKE) -C docker
|
$(MAKE) -C docker
|
||||||
|
1
docker/.gitignore
vendored
1
docker/.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
files/knowyt
|
files/knowyt
|
||||||
|
knowyt-*.tar
|
||||||
|
@ -8,5 +8,10 @@ run:
|
|||||||
stop:
|
stop:
|
||||||
podman stop knowyt
|
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:
|
clean:
|
||||||
rm -f files/knowyt
|
rm -f files/knowyt knowyt-latest.tar
|
||||||
|
Loading…
Reference in New Issue
Block a user