#build step trying to copy missing file?

16 messages · Page 1 of 1 (latest)

dapper shoal
#

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 😁

distant coralBOT
#

Project ID: 48bdb90b-0fe0-4764-8f6c-0bcbef0cca1c

solemn mauve
dapper shoal
#

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

#

apologies if there are any ansi color artifacts in that dump

solemn mauve
#

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 @sharp nexus <-- famous rust developer

dapper shoal
#

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

solemn mauve
#

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

dapper shoal
#

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

dapper shoal
solemn mauve
#

sounds good!