-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (29 loc) · 1.27 KB
/
Makefile
File metadata and controls
41 lines (29 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
build: api embeddings
.PHONY: api embeddings push
push:
docker push ghcr.io/defenseunicorns/leapfrogai/api:0.0.1
docker push ghcr.io/defenseunicorns/leapfrogai/stablelm-3b:0.0.1
docker push ghcr.io/defenseunicorns/leapfrogai/embeddings:0.0.1
api:
cd api && \
docker build --network=host -t ghcr.io/defenseunicorns/leapfrogai/api:0.0.1 .
stablelm:
cd llms/stablelm && \
docker build --network=host -t ghcr.io/defenseunicorns/leapfrogai/stablelm-3b:0.0.1 .
stablelm-7b:
cd llms/stablelm-7b && \
docker build --network=host -t ghcr.io/defenseunicorns/leapfrogai/stablelm-7b:0.0.1 .
embeddings:
cd embeddings && \
docker build --network=host -t ghcr.io/defenseunicorns/leapfrogai/embeddings:0.0.1 .
whisper:
cd models/whisper && \
docker build --network=host -t ghcr.io/defenseunicorns/leapfrogai/whisper:0.0.1 .
whisper-push:
docker push ghcr.io/defenseunicorns/leapfrogai/whisper:0.0.1
# This thing is massive, so directly pushing to the zarf registry is quicker/easier
zarf-push-api:
docker tag ghcr.io/defenseunicorns/leapfrogai/api:0.0.1 localhost:5001/defenseunicorns/leapfrogai/api:0.0.1-zarf-1702594131
docker push localhost:5001/defenseunicorns/leapfrogai/api:0.0.1-zarf-1702594131
zarf-port-forward:
kubectl port-forward -n zarf svc/zarf-docker-registry 5001:5000