@@ -43,7 +43,7 @@ RUN curl -fsSL -o ~/miniforge3.sh -O "https://github.com/conda-forge/miniforge/
43
43
## Python Base #################################################################
44
44
FROM base as python-base
45
45
46
- COPY --from=python-install --link /opt/vllm /opt/vllm
46
+ COPY --from=python-install /opt/vllm /opt/vllm
47
47
48
48
ENV PATH=/opt/vllm/bin/:$PATH
49
49
@@ -132,7 +132,7 @@ RUN ldconfig /usr/local/cuda-12.2/compat/
132
132
## Development #################################################################
133
133
FROM cuda-devel AS dev
134
134
135
- COPY --from=python-torch-base --link /opt/vllm /opt/vllm
135
+ COPY --from=python-torch-base /opt/vllm /opt/vllm
136
136
ENV PATH=/opt/vllm/bin/:$PATH
137
137
138
138
# install build and runtime dependencies
@@ -260,9 +260,9 @@ FROM base AS vllm
260
260
261
261
WORKDIR /vllm-staging
262
262
# COPY files from various places into a staging directory
263
- COPY --link vllm vllm
264
- COPY --from=build --link /workspace/vllm/*.so vllm/
265
- COPY --from=gen-protos --link /workspace/vllm/entrypoints/grpc/pb vllm/entrypoints/grpc/pb
263
+ COPY vllm vllm
264
+ COPY --from=build /workspace/vllm/*.so vllm/
265
+ COPY --from=gen-protos /workspace/vllm/entrypoints/grpc/pb vllm/entrypoints/grpc/pb
266
266
267
267
# custom COPY command to use umask to control permissions and grant permissions
268
268
# to the group
@@ -281,7 +281,7 @@ FROM cuda-runtime AS vllm-openai
281
281
WORKDIR /workspace
282
282
283
283
# Create release python environment
284
- COPY --from=python-torch-base --link /opt/vllm /opt/vllm
284
+ COPY --from=python-torch-base /opt/vllm /opt/vllm
285
285
ENV PATH=/opt/vllm/bin/:$PATH
286
286
287
287
RUN --mount=type=cache,target=/root/.cache/pip \
@@ -301,7 +301,7 @@ RUN --mount=type=bind,from=flash-attn-builder,src=/usr/src/flash-attention-v2,ta
301
301
pip3 install /usr/src/flash-attention-v2/*.whl --no-cache-dir
302
302
303
303
# vLLM will not be installed in site-packages
304
- COPY --from=vllm --link /workspace/ ./
304
+ COPY --from=vllm /workspace/ ./
305
305
306
306
# Triton needs a CC compiler
307
307
RUN microdnf install -y gcc \
0 commit comments