Sign inSign up

ytzcom/geoip-api-dev:1.1.1

Multi-platform
Index digest

sha256:4d5f8a70aaf3067f9a099e95e33efc5de1b76414a2c28330c30ffec6d6557399

OS/ARCH

Compressed size

167.49 MB

Last pushed

4 months by techytz

Type

Image

Manifest digest

sha256:96a03512d2ba9e145d512bc8ce2eedb27a086fb5e21dbd81b29410a921f33a7b

Image Layers

1# debian.sh --arch 'arm64' out/28.75 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.22 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.65 MB
9RUN /bin/sh -c set -eux;250 B
10CMD ["python3"]0 B
11RUN /bin/sh -c apt-get update79.15 MB
12RUN /bin/sh -c useradd -m3.27 KB
13WORKDIR /app32 B
14COPY requirements.txt . # buildkit492 B
15RUN /bin/sh -c pip install44.7 MB
16COPY --chown=geoip:geoip app.py config.py ./14.94 KB
17RUN /bin/sh -c mkdir -p180 B
18USER geoip0 B
19ENV USE_S3_URLS=false DATABASE_PATH=/data/databases PORT=8080 WORKERS=10 B
20RUN /bin/sh -c echo 'API_KEYS=dev-key-1,dev-key-2,test-key-1'231 B
21HEALTHCHECK {Test:[CMD-SHELL python -c "import0 B
22EXPOSE [8080/tcp]0 B
23LABEL org.opencontainers.image.title=geoip-api-dev org.opencontainers.image.description=GeoIP Authentication API0 B
24CMD ["python" "-m" "uvicorn" "app:app"0 B

Command

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