fix docker
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -22,14 +22,12 @@ FROM cpu-test-1 AS build
|
|
22 |
|
23 |
COPY ./ /workspace
|
24 |
|
|
|
|
|
25 |
WORKDIR /workspace/vllm
|
26 |
|
27 |
RUN pip install -v -r requirements-cpu.txt --extra-index-url https://download.pytorch.org/whl/test/cpu
|
28 |
|
29 |
-
# Support for building with non-AVX512 vLLM: docker build --build-arg VLLM_CPU_DISABLE_AVX512="true" ...
|
30 |
-
ARG VLLM_CPU_DISABLE_AVX512
|
31 |
-
ENV VLLM_CPU_DISABLE_AVX512=${VLLM_CPU_DISABLE_AVX512}
|
32 |
-
|
33 |
RUN VLLM_TARGET_DEVICE=cpu python3 setup.py install
|
34 |
|
35 |
WORKDIR /workspace/
|
|
|
22 |
|
23 |
COPY ./ /workspace
|
24 |
|
25 |
+
RUN chmod -R 777 /workspace
|
26 |
+
|
27 |
WORKDIR /workspace/vllm
|
28 |
|
29 |
RUN pip install -v -r requirements-cpu.txt --extra-index-url https://download.pytorch.org/whl/test/cpu
|
30 |
|
|
|
|
|
|
|
|
|
31 |
RUN VLLM_TARGET_DEVICE=cpu python3 setup.py install
|
32 |
|
33 |
WORKDIR /workspace/
|