File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,9 @@ RUN --mount=type=cache,target=/var/cache/apt \
1414 libcurl4-openssl-dev libopenblas-openmp-dev && \
1515 rm -rf /var/lib/apt/lists/*
1616
17- # Install rustc for pip installation
18- RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
19-
2017WORKDIR /app
2118COPY . .
2219
23- RUN pip3 install --no-cache-dir --prefix=/gguf-py -r requirements.txt
24-
2520RUN --mount=type=cache,target=/root/.ccache \
2621 --mount=type=cache,target=/app/build \
2722 cmake -S . -B build -G Ninja \
@@ -103,8 +98,7 @@ RUN --mount=type=cache,target=/var/cache/apt \
10398 find /var/cache/apt/archives /var/lib/apt/lists -not -name lock -type f -delete && \
10499 find /var/cache -type f -delete
105100
106- RUN --mount=type=cache,target=/root/.cargo \
107- curl https://sh.rustup.rs -sSf | bash -s -- -y && \
101+ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y && \
108102 pip install -r /app/gguf-py/requirements.txt
109103
110104ENTRYPOINT [ "/app/tools.sh" ]
You can’t perform that action at this time.
0 commit comments