Skip to content

Commit

Permalink
fix: Update Ragengine Service Dockerfile
Browse files Browse the repository at this point in the history
Update to include system dependencies

Signed-off-by: Ishaan Sehgal <[email protected]>
  • Loading branch information
ishaansehgal99 authored Dec 10, 2024
1 parent 857c373 commit e11c6d4
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docker/ragengine/service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
FROM python:3.12-slim

# Install system dependencies for building Python packages
RUN apt-get update && apt-get install -y \
build-essential \
gcc \
g++ \
make \
&& apt-get clean

WORKDIR /app

# Copy all files from ragengine/services into the app/services folder
Expand All @@ -14,8 +22,16 @@ RUN pip install --no-cache-dir -r ragengine/requirements.txt
# Set the final working directory
WORKDIR /app/ragengine

# Run Using Following
# Build and Push Using Docker
# Replace <ACR_PATH> with your Azure Container Registry path, e.g., myregistry.azurecr.io
# docker build -f docker/ragengine/service/Dockerfile -t kaito-rag-service:0.0.1 .
# 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

# Multi-Platform Build and Push Using Docker Buildx
# Requires QEMU for cross-platform builds (linux/amd64, linux/arm64)
# docker buildx build \
# --platform linux/amd64,linux/arm64 \
# -f docker/ragengine/service/Dockerfile \
# -t <ACR_PATH>/kaito-rag-service:0.0.4 \
# --push .

0 comments on commit e11c6d4

Please sign in to comment.