diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index adb6c6ed0..3958bd65f 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -97,7 +97,7 @@ jobs: - name: Install dependencies run: pnpm install - - name: Build Next.js app + - name: Build app run: | NEXT_PUBLIC_BUILDTIME="${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}" \ NEXT_PUBLIC_VERSION="${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}" \ diff --git a/Dockerfile b/Dockerfile index f29ed7c10..4acb979bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# Base build stage (for building Next.js if needed) +# Buid stage FROM node:22-slim AS builder WORKDIR /app @@ -31,7 +31,7 @@ else \ echo "Skipping build in CI (already built)"; \ fi -# Final runtime image +# Runtime stage FROM docker.io/node:22-alpine AS runner LABEL org.opencontainers.image.title "Homepage" LABEL org.opencontainers.image.description "A self-hosted services landing page, with docker and service integrations."