Move frontend build to a separate build stage#2055
Conversation
|
Thanks for that @alastair! I think it might be great to do something like that, but we should provide an alternative to |
Allows us to build in parallel, speeding up build process Removes node from our main runtime image
0c0c68f to
74b09e6
Compare
|
@ffont this is resolved - build steps are correct if you want to run manually, and there's a profile to automatically build (taking advantage of the parcel cache) whenever you make a change to a file |
|
That looks really nice @alastair ! Although the build is failing with something uv related? |
|
yeah, this is a common build issue with pysndfile, I keep running into it. let's see if we can fix it once and for all |
pysndfile has a custom setup.py which looks in some fixed locations for the .so file. Debain puts this file in /usr/lib/x86_64-linux-gnu which isn't found, so move it to /usr/lib
|
this is building now, I upgraded to the latest pysndfile. |
|
Now it builds in less than 2 seconds, amazing! |
|
Oups, |
Allows us to build in parallel, speeding up build process Removes node from our main runtime image