• Joined on 2025-08-21

dockerfiles (glot-www)

Published 2025-10-21 17:29:15 +08:00 by core

Installation

docker pull git.coocn.cn/core/dockerfiles:glot-www
sha256:ef9efe7fb7a8b7c8f5c4e4e0b67ef91cd83a12c549f9987dd494f9b522694918

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:598bb7ba54e5a576778e9ebe1f4e514188812bea30c08d00446f8d04c37053e6 in /
CMD ["/bin/bash"]
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
ENV APPROOT=http://localhost:3000
ENV HOST=0.0.0.0
ENV PORT=3000
ENV IP_FROM_HEADER=false
ENV PGHOST=postgres
ENV PGPORT=5432
ENV PGUSER=glot
ENV PGPASS=glot
ENV PGDATABASE=glot
ENV PGPOOLSIZE=10
ENV DOCKER_RUN_BASE_URL=http://docker-run:8088
ENV DOCKER_RUN_RESPONSE_TIMEOUT=60
ENV MAILGUN_DOMAIN=
ENV EMAIL_FROM_ADDRESS=
RUN /bin/sh -c apt-get update && apt-get install -y libgmp10 libpq5 ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c groupadd -r glot && useradd -r -g glot glot # buildkit
WORKDIR /app
COPY --chown=glot:glot /app/build/release/glot-www/ . # buildkit
RUN /bin/sh -c mkdir -p /app/logs /app/tmp && chown -R glot:glot /app/logs /app/tmp # buildkit
USER glot
EXPOSE map[3000/tcp:{}]
HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:3000/health || exit 1"] "30s" "10s" "5s" "0s" '\x03'}
CMD ["./glot"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 22.04
Details
Container
2025-10-21 17:29:15 +08:00
0
OCI / Docker
linux/amd64
54 MiB
Versions (2) View all
docker-run 2025-10-21
glot-www 2025-10-21