Sign inSign up

ytzcom/geoip-api:1.1.2

Multi-platform
Index digest

sha256:4194fc890a4d51902b0ea6bb26025eda4707677797239233018deeda0d6e5856

OS/ARCH

Compressed size

79.66 MB

Last pushed

4 months by techytz

Type

Image

Manifest digest

sha256:0df771076aadfdf1913f154ad91ac5fbcda284200212922963e30ba4287c6fae

Image Layers

1# debian.sh --arch 'amd64' out/28.41 MB
2ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin0 B
3ENV LANG=C.UTF-80 B
4RUN /bin/sh -c set -eux;1.23 MB
5ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D0 B
6ENV PYTHON_VERSION=3.11.150 B
7ENV PYTHON_SHA256=272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b6250 B
8RUN /bin/sh -c set -eux;13.7 MB
9RUN /bin/sh -c set -eux;250 B
10CMD ["python3"]0 B
11RUN /bin/sh -c useradd -m3.26 KB
12COPY /opt/venv /opt/venv # buildkit36.29 MB
13ENV PATH=/opt/venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin0 B
14WORKDIR /app32 B
15COPY --chown=geoip:geoip app.py config.py ./14.94 KB
16COPY --chown=geoip:geoip geoip_reader.py cache.py database_updater.py9.19 KB
17COPY --chown=geoip:geoip static/ ./static/ #9.45 KB
18RUN /bin/sh -c mkdir -p179 B
19USER geoip0 B
20ENV USE_S3_URLS=true PORT=8080 WORKERS=1 DATABASE_PATH=/data/databases0 B
21HEALTHCHECK {Test:[CMD-SHELL python -c "import0 B
22VOLUME [/data/databases]0 B
23EXPOSE [8080/tcp]0 B
24LABEL org.opencontainers.image.title=geoip-api org.opencontainers.image.description=GeoIP Authentication API0 B
25CMD ["python" "-m" "uvicorn" "app:app"0 B

Command

# debian.sh --arch 'amd64' out/ 'trixie' '@1781049600'