mysterious 1.5 GB image in Ruby/Node build logs
there is a mysterious 1.5 GB image in the logs of my build step
10 Replies
Project ID:
a0c840b3-7e97-4dc9-bc7c-e6892018f6a5
a0c840b3-7e97-4dc9-bc7c-e6892018f6a5
i have no idea what this is
if it is the ruby dependencies, maybe there's a way to wipe it
i don't know how though
Solution
that is the built image that railway will then run
does the 1.5 GB thing cost me anything ?
im just concerned if that will charge me anything
no but you should work on reducing it
guess who doesn't know how to do that
time to learn how to write a Dockerfile
im thinking of just deleting the entire ruby backend after building cuz i'm only using it for building the site
you can do that in a custom Dockerfile with multiple stages
i have this thread #cached dependencies that can probably be resolved
github has the necessary tools for building static jekyll sites
i can probably defer the building step there
and just emit an artefact that railway will pick up
and then deploy that
i think that will work
what