Skip to content

Commit

Permalink
update weaviate yml
Browse files Browse the repository at this point in the history
  • Loading branch information
threnjen committed Dec 19, 2024
1 parent b8ace2f commit 125ff37
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/weaviate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,13 @@ jobs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: weaviate_rag_server
run: |
DOCKER_BUILDKIT=1 docker build -f Dockerfiles/Dockerfile.weaviate -t $ECR_REGISTRY/$ECR_REPOSITORY:latest - <<EOF
FROM cr.weaviate.io/semitechnologies/weaviate:1.27.7
CMD ["--host", "0.0.0.0", "--port", "8080", "--scheme", "http"]
EOF
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest
DOCKER_BUILDKIT=1 docker build -f Dockerfiles/Dockerfile.weaviate -t $ECR_REGISTRY/$ECR_REPOSITORY .
docker push $ECR_REGISTRY/$ECR_REPOSITORY
- name: Build, tag, and push Transformers image to AWS ECR
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: t2v-transformers
run: |
DOCKER_BUILDKIT=1 docker build -f Dockerfiles/Dockerfile.t2v-transformers -t $ECR_REGISTRY/$ECR_REPOSITORY:latest - <<EOF
FROM cr.weaviate.io/semitechnologies/transformers-inference:sentence-transformers-all-mpnet-base-v2
ENV ENABLE_CUDA=0
EOF
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest
DOCKER_BUILDKIT=1 docker build -f Dockerfiles/Dockerfile.t2v-transformers -t $ECR_REGISTRY/$ECR_REPOSITORY .
docker push $ECR_REGISTRY/$ECR_REPOSITORY

0 comments on commit 125ff37

Please sign in to comment.