Skip to content

0.1.0-stable

Latest
Compare
Choose a tag to compare
@ForkInABlender ForkInABlender released this 29 Aug 09:14
· 5 commits to main since this release
dea006f

This release contains enough of the parts to define a simple flask app that runs on kubernetes via the acorn.io build system.

If you're wanting to use your java resources with a flask server, this is the optimal version I've found. While it doesn't include all the features of the CPython 2.7.3 interpreter, it does a good enough for running things like flask applications.

And the only modification one would need to apply is bin/jython -m flask run --host 0.0.0.0 --port 5000 to get it to run.
But this too can be added to a docker file as a entrypoint in execution.

Due note, this is packaged together with x86_64 CPU architecture in mind. So, make sure you have the right version compiled for your architecture. Beyond that, the java version is java oracle version 1.17 or v17.

With Acornfile definition of an application list this, this technically allows for a lot more flexible definition of applications, services, etcetera.