diff --git a/Dockerfile b/Dockerfile index 0fe1af9..903b039 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM node:24-alpine AS api-assets +FROM node:26-alpine AS api-assets WORKDIR /tools COPY package.json package-lock.json ./ RUN npm ci --ignore-scripts COPY scripts/vendor-api.mjs ./scripts/vendor-api.mjs RUN node scripts/vendor-api.mjs -FROM alpine:3.22 AS build +FROM alpine:3.24 AS build ARG HUGO_VERSION=0.150.1 ARG BASE_URL=https://docs.printmaster.work/ RUN apk add --no-cache ca-certificates wget \ @@ -28,7 +28,7 @@ RUN hugo --gc --minify --panicOnWarning --baseURL "$BASE_URL" FROM scratch AS artifact COPY --from=build /site/public / -FROM nginxinc/nginx-unprivileged:1.28-alpine AS runtime +FROM nginxinc/nginx-unprivileged:1.31-alpine AS runtime LABEL org.opencontainers.image.title="PrintMaster Docs" \ org.opencontainers.image.source="https://github.com/Printmaster-Org/docs.printmaster.work" \ org.opencontainers.image.licenses="MIT"