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.
3.1 kB ยท 78 lines
Dockerfile
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879# syntax=docker/dockerfile:1.19.0# This file is generated by Dofigen v2.8.0# See https://github.com/lenra-io/dofigen
# installFROM node@sha256:c0753125a3789977aefe869cbebccf70e3cfd7ea84ca48547458f02e4f1d7146 AS installLABEL \ org.opencontainers.image.base.digest="sha256:c0753125a3789977aefe869cbebccf70e3cfd7ea84ca48547458f02e4f1d7146" \ org.opencontainers.image.base.name="docker.io/node:26.8.1-slim" \ org.opencontainers.image.stage="install"WORKDIR /app/RUN \ --mount=type=bind,target=pnpm-workspace.yaml,source=pnpm-workspace.yaml \ --mount=type=bind,target=pnpm-lock.yaml,source=pnpm-lock.yaml \ --mount=type=bind,target=package.json,source=package.json \ --mount=type=bind,target=packages/db/package.json,source=packages/db/package.json \ --mount=type=bind,target=packages/assertions/package.json,source=packages/assertions/package.json \ --mount=type=bind,target=packages/locales/package.json,source=packages/locales/package.json \ --mount=type=bind,target=packages/regions/package.json,source=packages/regions/package.json \ --mount=type=bind,target=packages/theme-store/package.json,source=packages/theme-store/package.json \ --mount=type=bind,target=packages/utils/package.json,source=packages/utils/package.json \ --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \ <<EOFnpm install -g corepack@0.36.0corepack enable pnpmpnpm install --prod --frozen-lockfile --filter=@openstatus/db... --loglevel debugEOF
# runtimeFROM node@sha256:c0753125a3789977aefe869cbebccf70e3cfd7ea84ca48547458f02e4f1d7146 AS runtimeLABEL \ io.dofigen.version="2.8.0" \ org.opencontainers.image.authors="OpenStatus Team" \ org.opencontainers.image.base.digest="sha256:c0753125a3789977aefe869cbebccf70e3cfd7ea84ca48547458f02e4f1d7146" \ org.opencontainers.image.base.name="docker.io/node:26.8.1-slim" \ org.opencontainers.image.description="One-shot database migration runner for OpenStatus" \ org.opencontainers.image.source="https://github.com/openstatusHQ/openstatus" \ org.opencontainers.image.title="OpenStatus DB Migrate" \ org.opencontainers.image.vendor="OpenStatus"WORKDIR /app/packages/dbCOPY \ --chown=1000:1000 \ --link \ "packages/db" "/app/packages/db"COPY \ --chown=1000:1000 \ --link \ "packages/assertions" "/app/packages/assertions"COPY \ --chown=1000:1000 \ --link \ "packages/locales" "/app/packages/locales"COPY \ --chown=1000:1000 \ --link \ "packages/regions" "/app/packages/regions"COPY \ --chown=1000:1000 \ --link \ "packages/theme-store" "/app/packages/theme-store"COPY \ --chown=1000:1000 \ --link \ "packages/utils" "/app/packages/utils"COPY \ --from=install \ --chown=1000:1000 \ --link \ "/app/node_modules" "/app/node_modules"COPY \ --from=install \ --chown=1000:1000 \ --link \ "/app/packages" "/app/packages"USER 0:0RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/*USER 1000:1000ENTRYPOINT ["npm", "run", "migrate"]