Skip to content

Commit

Permalink
feat: Dockerfile for Kaito RAG Service (#680)
Browse files Browse the repository at this point in the history
**Reason for Change**:
Dockerfile for Kaito RAG Service

---------

Signed-off-by: Ishaan Sehgal <ishaanforthewin@gmail.com>
  • Loading branch information
ishaansehgal99 authored Nov 8, 2024
1 parent f1db127 commit 79494a2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docker/ragengine/service/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM python:3.12-slim

WORKDIR /app

# Copy all files from ragengine/services into the app/services folder
COPY services/ services/

# Set the PYTHONPATH environment variable
ENV PYTHONPATH=/app

# Install dependencies from requirements.txt
RUN pip install --no-cache-dir -r services/requirements.txt

# Set the final working directory
WORKDIR /app/services

# Run Using Following
# docker build -f kaito-repo/pkg/ragengine/docker/Dockerfile.service -t kaito-rag-service:0.0.1 kaito-repo/pkg/ragengine
# docker tag kaito-rag-service:0.0.1 <ACR_PATH>/kaito-rag-service:0.0.1
# docker push <ACR_PATH>/kaito-rag-service:0.0.1

0 comments on commit 79494a2

Please sign in to comment.