Sign inSign up

ytzcom/geoip-api-dev:weekly

Multi-platform
Index digest

sha256:85315ec9007b99aba97724df8de4b0fe26e17afcd78a232f8c23fd5a9db1928a

OS/ARCH

Compressed size

176.03 MB

Last pushed

3 days by techytz

Type

Image

Manifest digest

sha256:7a1ecbd1b5c99dfaea33735c2843c80187e84cf0a46f6656237c90a1357101cb

Image Layers

1# debian.sh --arch 'amd64' out/28.45 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;4.07 MB
5ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D0 B
6ENV PYTHON_VERSION=3.11.170 B
7ENV PYTHON_SHA256=bfb74ad39efae27cda510f134ab408e00f9992c56851cfc0b1cdb5646da115990 B
8RUN /bin/sh -c set -eux;13.79 MB
9RUN /bin/sh -c set -eux;250 B
10CMD ["python3"]0 B
11RUN /bin/sh -c apt-get update83.94 MB
12RUN /bin/sh -c useradd -m3.28 KB
13WORKDIR /app32 B
14COPY requirements.txt . # buildkit492 B
15RUN /bin/sh -c pip install45.76 MB
16COPY --chown=geoip:geoip app.py config.py ./14.95 KB
17RUN /bin/sh -c mkdir -p179 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 'amd64' out/ 'trixie' '@1789689600'