Repository navigation
twisted #1264
Unanswered
static-moonlight
asked this question in
Q&A
twisted
#1264
Replies: 1 comment
|
Twisted isn't a dependency of prometheus_client itself. On PyPI it is only an optional extra, The 40 MB comes from the Alpine package. The APKBUILD for py3-prometheus-client has So install it with pip instead of apk. Alpine marks the system Python as externally managed, so use a venv. apk add python3
python3 -m venv /opt/venv
/opt/venv/bin/pip install prometheus-clientThen run your app with |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is there a way to install this on Alpine without the ~40 MB twisted bloat when I don't need it?
All reactions