Block a user
bugis (latest)
Installation
docker pull gitea.woggioni.net/woggioni/bugis:latestsha256:bc8b42c8a4a11412fbe83869f10c163f067cc7617ec430be954b3f9ba1da1c59
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 8359c312c2 | linux/amd64 | 67 MiB |
| 65d03de9e7 | linux/arm64 | 67 MiB |
Image Layers ( linux/arm64)
| ADD file:ee5bb8409915b11413f44cce4c22fed658aba4fb078a448e08dd4ac9a23581f2 in / |
| CMD ["/bin/sh"] |
| LABEL org.opencontainers.image.authors=oggioni.walter@gmail.com |
| RUN /bin/sh -c apk update # buildkit |
| RUN /bin/sh -c apk add python3 py3-pip graphviz # buildkit |
| RUN /bin/sh -c mkdir /srv/http # buildkit |
| RUN /bin/sh -c adduser -D -h /var/lib/bugis -u 1000 bugis # buildkit |
| USER bugis |
| WORKDIR /var/lib/bugis |
| COPY --chown=bugis:users conf/pip.conf ./.pip/pip.conf # buildkit |
| RUN /bin/sh -c python -m venv .venv # buildkit |
| RUN /bin/sh -c .venv/bin/pip install -r /requirements-run.txt /wheel/*.whl # buildkit |
| RUN /bin/sh -c .venv/bin/pip install /dist/*.whl # buildkit |
| VOLUME [/srv/http] |
| WORKDIR /srv/http |
| ENV GRANIAN_HOST=0.0.0.0 |
| ENV GRANIAN_PORT=8000 |
| ENV GRANIAN_INTERFACE=asgi |
| ENV GRANIAN_LOOP=asyncio |
| ENV GRANIAN_LOG_ENABLED=false |
| ENV GRANIAN_LOG_ACCESS_ENABLED=true |
| ENTRYPOINT ["/var/lib/bugis/.venv/bin/python" "-m" "granian" "bugis.asgi:application"] |
| EXPOSE map[8000/tcp:{}] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.authors | oggioni.walter@gmail.com |