File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 cd rag-core-library; make lint
55 cd admin-backend; make lint
66 cd rag-backend; make lint
7- cd document-extractor; make lint
7+ cd document-extractor; make lint
88
99update-lock :
1010 cd rag-core-library; make update-lock
@@ -16,4 +16,14 @@ black:
1616 cd rag-core-library; make black
1717 cd admin-backend; black .
1818 cd rag-backend; black .
19- cd document-extractor; black .
19+ cd document-extractor; black .
20+
21+ IMAGE_TAG? =v1.0.0
22+ REGISTRY? =
23+
24+ build_and_push :
25+ docker buildx build --platform linux/amd64 -t $(REGISTRY ) /rag-backend:$(IMAGE_TAG ) -f rag-backend/Dockerfile --push .
26+ docker buildx build --platform linux/amd64 -t $(REGISTRY ) /admin-backend:$(IMAGE_TAG ) -f admin-backend/Dockerfile --push .
27+ docker buildx build --platform linux/amd64 -t $(REGISTRY ) /document-extractor:$(IMAGE_TAG ) -f document-extractor/Dockerfile --push .
28+ docker buildx build --platform linux/amd64 -t $(REGISTRY ) /frontend:$(IMAGE_TAG ) -f frontend/apps/chat-app/Dockerfile --push .
29+ docker buildx build --platform linux/amd64 -t $(REGISTRY ) /admin-frontend:$(IMAGE_TAG ) -f frontend/apps/admin-app/Dockerfile --push .
You can’t perform that action at this time.
0 commit comments