Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. ๐ซ Status page with uptime monitoring & API monitoring as code ๐ซ openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
2.1 kB ยท 68 lines
Dockerfile
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869# syntax=docker/dockerfile:1.19.0# This file is generated by Dofigen v2.8.0# See https://github.com/lenra-io/dofigen
# builderFROM golang@sha256:dc9ad6c05acc7a88e5b71bde60a5fe3bd4b9f0db209011711b464107438a8107 AS builderLABEL \ org.opencontainers.image.base.digest="sha256:dc9ad6c05acc7a88e5b71bde60a5fe3bd4b9f0db209011711b464107438a8107" \ org.opencontainers.image.base.name="docker.io/golang:1.26-bookworm" \ org.opencontainers.image.stage="builder"ENV \ TZ="UTC" \ CGO_ENABLED="1"WORKDIR /go/src/appCOPY \ --link \ "." "."RUN <<EOFgo mod downloadgo build -trimpath -ldflags "-s -w" -o private-location ./cmd/serverEOF
# runtimeFROM debian@sha256:7c7b2c966bc9ee8cedfeef67e0e279108992c77681fa595db4a9d65c06ccc587 AS runtimeLABEL \ io.dofigen.version="2.8.0" \ org.opencontainers.image.authors="OpenStatus Team" \ org.opencontainers.image.base.digest="sha256:7c7b2c966bc9ee8cedfeef67e0e279108992c77681fa595db4a9d65c06ccc587" \ org.opencontainers.image.base.name="docker.io/debian:bookworm-slim" \ org.opencontainers.image.description="Private location orchestrator for OpenStatus" \ org.opencontainers.image.source="https://github.com/openstatusHQ/openstatus" \ org.opencontainers.image.title="OpenStatus Private Location" \ org.opencontainers.image.vendor="OpenStatus"ENV \ TZ="UTC" \ USER="1000" \ GIN_MODE="release"WORKDIR /opt/binCOPY \ --from=builder \ --chown=1000:1000 \ --link \ "/etc/ssl/certs/ca-certificates.crt" "/etc/ssl/certs/"COPY \ --from=builder \ --chown=1000:1000 \ --link \ "/usr/share/zoneinfo" "/usr/share/zoneinfo"COPY \ --from=builder \ --chown=1000:1000 \ --link \ "/go/src/app/private-location" "/opt/bin/private-location"USER 0:0RUN <<EOFapt-get updateapt-get install -y --no-install-recommends wgetrm -rf /var/lib/apt/lists/*EOFUSER 1000:1000EXPOSE 8080HEALTHCHECK \ --interval=15s \ --timeout=10s \ --start-period=30s \ --retries=3 \ CMD wget -q -O /dev/null http://localhost:8080/health || exit 1CMD ["/opt/bin/private-location"]