Build the app to a single native binary with graalpy's 'standalone native' command (Dockerfile.native). granian/rloop cannot be bundled into a standalone binary, so the executable serves the app over ASGI with Hypercorn via native/entrypoint.py, which also works around GraalPy standalone quirks (socket.listen, str response bodies, signal handling). Adds docker-compose.native.yml, a -native CI job, and README docs.
25 lines
401 B
Plaintext
25 lines
401 B
Plaintext
# Keep the build context lean: exclude the local venv, caches, tests,
|
|
# and anything not needed to build the pyfconfig wheel.
|
|
.git/
|
|
.gitignore
|
|
.env
|
|
.env.example
|
|
.venv/
|
|
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
*.egg-info/
|
|
.mypy_cache/
|
|
.pytest_cache/
|
|
dist/
|
|
build/
|
|
tests/
|
|
Dockerfile
|
|
Dockerfile.graalpy
|
|
Dockerfile.native
|
|
.dockerignore
|
|
opencode.json
|
|
docker-compose.yml
|
|
docker-compose.graalpy.yml
|
|
docker-compose.native.yml
|