R
Railwayβ€’2mo ago
ARSON

build step trying to copy missing file?

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
-------------------
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 😁
10 Replies
Percy
Percyβ€’2mo ago
Project ID: 48bdb90b-0fe0-4764-8f6c-0bcbef0cca1c
Brody
Brodyβ€’2mo ago
to help you out our community is going to need your full build logs - https://bookmarklets.up.railway.app/log-downloader/
ARSON
ARSONOPβ€’2mo 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
ARSON
ARSONOPβ€’2mo ago
apologies if there are any ansi color artifacts in that dump
Brody
Brodyβ€’2mo ago
haha yeah it can only do 1500 log lines by design 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 since opening this thread you could have learnt and written a Dockerfile trailered to your specific needs cc @milo <-- famous rust developer
ARSON
ARSONOPβ€’2mo ago
i went to sleep after opening this thread, but had i stayed awake maybe ci/cd is foreign territory to me so it probably would have taken a while
Brody
Brodyβ€’2mo 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 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
ARSON
ARSONOPβ€’2mo ago
in my mind i kinda group docker and all that with ci/cd 🀣 alrighty, i'll give it a shot
Brody
Brodyβ€’2mo ago
sounds good!
milo
miloβ€’2mo ago
trust me @ARSON, use cargo-chef
Want results from more Discord servers?
Add your server