Tried deploying a compose for web site to Netlify,...
# compose-web
j
Tried deploying a compose for web site to Netlify, but sadly not possible. Netlify seems to work with JDK8, Compose requires 11. Just fyi, since Netlify is pretty common these days. Any suggestions other than trying other hosting like GH pages?
b
Why don't you build it on CI and just deploy a static website to netlify? That way your netlify doesn't need ANY tooling to deploy (i.e. JDK).
CfW is just an implementation detail (just like React or Angular) and is only relevant at build time. After that the output is just static HTML, CSS and JS files.
j
Yeah, makes sense
d
https://bitspittle.dev/blog/2022/staticdeploy I blogged about static deployment using my library Kobweb, and I actually used Netlify as an example. Maybe it'll help you?
(Kobweb is probably overkill if you're just doing a single, interactive index.html page, but it might be useful if you wanted to create a site with multiple pages on it that you could navigate between)