build step trying to copy missing file?
upbolt
TRIALOP

a year ago

48bdb90b-0fe0-4764-8f6c-0bcbef0cca1c

not sure if technical details matter, but rust outputs various directories into a /target directory which i'm assuming this isn't picking up on

-------------------
35 |     COPY --from=0 /etc/ssl/certs /etc/ssl/certs
36 |     RUN true
37 | >>> COPY --from=0 /app/bin/leptos-sse-chat /app/bin/leptos-sse-chat
38 |     CMD ["cargo leptos serve --release"]
39 |
-------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref j3hlbnh0j8q9v941rffaby66o::funo3xrunfajb9dmfqdp29xjq: "/app/bin/leptos-sse-chat": not found

but i admittedly don't understand the magic behind the ci/cd, so some ropes in the right direction would be helpful 😁

15 Replies

a year ago

to help you out our community is going to need your full build logs -


upbolt
TRIALOP

a year ago

the bookmarklet wasn't able to grab all the output because it's gigantic 🤣 so i had to do a bit of network peeking and json parsing

1289600387241869494


upbolt
TRIALOP

a year ago

apologies if there are any ansi color artifacts in that dump


a year ago

haha yeah it can only do 1500 log lines by design


a year ago

you're the first person I've ever seen to be able to grab their own logs the way you did, and I've been doing this for a long time, are you sure you need help with a build error haha


a year ago

since opening this thread you could have learnt and written a Dockerfile trailered to your specific needs


a year ago

cc @milo <-- famous rust developer


upbolt
TRIALOP

a year ago

i went to sleep after opening this thread, but had i stayed awake maybe


upbolt
TRIALOP

a year ago

ci/cd is foreign territory to me so it probably would have taken a while


a year ago

we don't do ci/cd so all you have to do is write a Dockerfile and place it in your repo and we will build that for you


a year ago

I'm just a go dev so I can't help here unfortunately, so until Milo shows up, give your hand at writing a Dockerfile


upbolt
TRIALOP

a year ago

in my mind i kinda group docker and all that with ci/cd 🤣


upbolt
TRIALOP

a year ago

alrighty, i'll give it a shot


a year ago

sounds good!


a year ago

trust me @ARSON, use cargo-chef


Loading...