nandi/frqpublic Fork 0
627b785fbf6cef0c29d54b82a1ffb5e870ca9f51
Commits
Clone
git clone https://git.rickub.com/nandi/frq.git
git clone ssh://git@rickub.com/nandi/frq.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

container.py · 19 lines · 567 BPython Blame HistoryRaw
CI builds the image, Modal serves it 5693bd5 nandi 13h ago1"""Generated stub -- the container is defined by container.toml.
2
3Edit container.toml, not this file.
4"""
5
6import os
7import sys
8
9sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
10
11from _loader import Container # noqa: E402
12
13c = Container.from_toml(__file__)
14image, app = c.image, c.app
15
16# A web container's Function is not vestigial the way a sandbox's is: it *is*
17# the container. Registered at import time so that `modal deploy` finds it,
18# and so that the re-import inside the container binds the same body.
19serve = c.register_web()