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