From 40c544ba0a16803ccf23819548c69e2a0519a721 Mon Sep 17 00:00:00 2001 From: "Billy D." Date: Tue, 3 Feb 2026 22:23:05 -0500 Subject: [PATCH] fix: remove COPY ray-serve/ - now installed from PyPI ray-serve-apps package is now installed from Gitea PyPI registry at runtime by the RayService configuration, not bundled in image. --- dockerfiles/Dockerfile.ray-worker-intel | 3 +-- dockerfiles/Dockerfile.ray-worker-nvidia | 3 +-- dockerfiles/Dockerfile.ray-worker-rdna2 | 3 +-- dockerfiles/Dockerfile.ray-worker-strixhalo | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/dockerfiles/Dockerfile.ray-worker-intel b/dockerfiles/Dockerfile.ray-worker-intel index a5c9942..7ed6df9 100644 --- a/dockerfiles/Dockerfile.ray-worker-intel +++ b/dockerfiles/Dockerfile.ray-worker-intel @@ -78,8 +78,7 @@ RUN --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 \ 'httpx>=0.27.0,<1.0' \ 'pydantic>=2.0.0,<3.0' -# Copy application code -COPY --chown=ray:ray ray-serve/ /app/ray_serve/ +# Copy entrypoint script (ray-serve-apps is installed from PyPI at runtime) COPY --chown=ray:ray --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh # Environment configuration diff --git a/dockerfiles/Dockerfile.ray-worker-nvidia b/dockerfiles/Dockerfile.ray-worker-nvidia index 90624ff..6bce2c0 100644 --- a/dockerfiles/Dockerfile.ray-worker-nvidia +++ b/dockerfiles/Dockerfile.ray-worker-nvidia @@ -50,8 +50,7 @@ RUN --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 \ 'httpx>=0.27.0,<1.0' \ 'pydantic>=2.0.0,<3.0' -# Copy application code with proper ownership -COPY --chown=ray:ray ray-serve/ /app/ray_serve/ +# Copy entrypoint script (ray-serve-apps is installed from PyPI at runtime) COPY --chown=ray:ray --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh # Environment configuration diff --git a/dockerfiles/Dockerfile.ray-worker-rdna2 b/dockerfiles/Dockerfile.ray-worker-rdna2 index dab0c4d..fd90d4f 100644 --- a/dockerfiles/Dockerfile.ray-worker-rdna2 +++ b/dockerfiles/Dockerfile.ray-worker-rdna2 @@ -75,8 +75,7 @@ RUN --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 \ # Pre-download embedding model for faster cold starts RUN python3 -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('BAAI/bge-large-en-v1.5')" -# Copy application code -COPY --chown=ray:ray ray-serve/ /app/ray_serve/ +# Copy entrypoint script (ray-serve-apps is installed from PyPI at runtime) COPY --chown=ray:ray --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh # Environment configuration diff --git a/dockerfiles/Dockerfile.ray-worker-strixhalo b/dockerfiles/Dockerfile.ray-worker-strixhalo index 882b44c..8a18695 100644 --- a/dockerfiles/Dockerfile.ray-worker-strixhalo +++ b/dockerfiles/Dockerfile.ray-worker-strixhalo @@ -85,8 +85,7 @@ RUN --mount=type=cache,target=/home/ray/.cache/uv,uid=1000,gid=1000 \ # Pre-download common models for faster cold starts (optional, increases image size) # RUN python3 -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('BAAI/bge-large-en-v1.5')" -# Copy application code -COPY --chown=ray:ray ray-serve/ /app/ray_serve/ +# Copy entrypoint script (ray-serve-apps is installed from PyPI at runtime) COPY --chown=ray:ray --chmod=755 dockerfiles/ray-entrypoint.sh /app/ray-entrypoint.sh # Environment configuration