LLMs-from-scratch icon indicating copy to clipboard operation
LLMs-from-scratch copied to clipboard

Docker file issue

Open JibinES opened this issue 6 months ago • 1 comments

While building the docker image the Add command is failing change that part to this.

RUN curl -fsSL https://astral.sh/uv/install.sh -o /uv-installer.sh &&
chmod +x /uv-installer.sh &&
/uv-installer.sh &&
rm /uv-installer.sh

This will rectify the error

JibinES avatar May 29 '25 05:05 JibinES

Hi @JibinES ,

Unfortunately, @rasbt is currently recovering from an injury, therefore I'll do my best to assist you with your issue in the meantime.

I just tested it and rebuilt the image in VS Code, and it worked without any issues for me:

Image

Could you please post the error message or, if possible, the build log to narrow down the issue?

d-kleine avatar May 29 '25 19:05 d-kleine

If you haven't yet, apply the suggested fix:

Dockerfile Copy Edit

Replace the ADD command with this

RUN curl -fsSL https://astral.sh/uv/install.sh
-o /uv-installer.sh
&& chmod +x /uv-installer.sh
&& /uv-installer.sh
&& rm /uv-installer.sh

This could be a possible fix

VINEAY avatar Jun 23 '25 15:06 VINEAY

Thanks for the suggestions here, took me some time, but I am slowly catching up with some older items on my todo list. (I am trying to incorporate it via #866 here)

rasbt avatar Oct 06 '25 23:10 rasbt