Skip to content

Commit 94125d0

Browse files
committed
Copy hatch_build.py in Dockerfiles
1 parent 6fc904a commit 94125d0

File tree

4 files changed

+5
-14
lines changed

4 files changed

+5
-14
lines changed

container/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ COPY --from=base $VIRTUAL_ENV $VIRTUAL_ENV
218218
ENV PATH=$CARGO_HOME/bin:$VIRTUAL_ENV/bin:$PATH
219219

220220
# Copy configuration files first for better layer caching
221-
COPY pyproject.toml README.md LICENSE Cargo.toml Cargo.lock rust-toolchain.toml /opt/dynamo/
221+
COPY pyproject.toml README.md LICENSE Cargo.toml Cargo.lock rust-toolchain.toml hatch_build.py /opt/dynamo/
222222

223223
# Copy source code
224224
COPY lib/ /opt/dynamo/lib/
@@ -270,4 +270,4 @@ RUN --mount=type=bind,source=./container/launch_message.txt,target=/opt/dynamo/l
270270
echo "cat ~/.launch_screen" >> ~/.bashrc
271271

272272
ENTRYPOINT ["/opt/nvidia/nvidia_entrypoint.sh"]
273-
CMD []
273+
CMD []

container/Dockerfile.sglang

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ COPY LICENSE /workspace/
337337
COPY Cargo.toml /workspace/
338338
COPY Cargo.lock /workspace/
339339
COPY rust-toolchain.toml /workspace/
340+
COPY hatch_build.py /workspace/
340341

341342
# Copy source code
342343
COPY lib/ /workspace/lib/

container/Dockerfile.trtllm

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
3-
#
4-
# Licensed under the Apache License, Version 2.0 (the "License");
5-
# you may not use this file except in compliance with the License.
6-
# You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing, software
11-
# distributed under the License is distributed on an "AS IS" BASIS,
12-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
153

164
ARG BASE_IMAGE="nvcr.io/nvidia/pytorch"
175
ARG BASE_IMAGE_TAG="25.05-py3"
@@ -285,6 +273,7 @@ COPY LICENSE /workspace/
285273
COPY Cargo.toml /workspace/
286274
COPY Cargo.lock /workspace/
287275
COPY rust-toolchain.toml /workspace/
276+
COPY hatch_build.py /workspace/
288277

289278
# Copy source code
290279
COPY lib/ /workspace/lib/

container/Dockerfile.vllm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ COPY LICENSE /workspace/
352352
COPY Cargo.toml /workspace/
353353
COPY Cargo.lock /workspace/
354354
COPY rust-toolchain.toml /workspace/
355+
COPY hatch_build.py /workspace/
355356

356357
# Copy source code
357358
COPY lib/ /workspace/lib/

0 commit comments

Comments
 (0)