We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c4c07 commit 50b52bbCopy full SHA for 50b52bb
Makefile
@@ -0,0 +1,12 @@
1
+VERSION := 0.1
2
+
3
+webref-$(VERSION).tar.gz: Dockerfile config/requirements.txt Makefile
4
+ docker build -t webref:$(VERSION) .
5
+ docker save webref:$(VERSION) | gzip > webref-$(VERSION).tar.gz
6
7
+up: webref-$(VERSION).tar.gz
8
+ VERSION=$(VERSION) docker compose up --detach
9
10
+clean:
11
+ VERSION=$(VERSION) docker-compose down --rmi all --volumes --remove-orphans
12
+ rm -f webref-$(VERSION).tar.gz
0 commit comments