File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 11FROM node:24-alpine AS base
22
3+ FROM base AS oasdiff
4+ ARG OASDIFF_VERSION=2.10.0
5+ RUN apk add --no-cache curl tar ca-certificates
6+ RUN curl -fsSL https://raw.githubusercontent.com/oasdiff/oasdiff/main/install.sh \
7+ | sh -s -- -b /usr/local/bin "v${OASDIFF_VERSION}"
8+
39# Install dependencies only when needed
410FROM base AS deps
511# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
@@ -46,6 +52,7 @@ RUN addgroup --system --gid 1001 nodejs
4652RUN adduser --system --uid 1001 nextjs
4753
4854COPY --from=builder /app/public ./public
55+ COPY --from=oasdiff /usr/local/bin/oasdiff /usr/local/bin/oasdiff
4956
5057# Set the correct permission for prerender cache
5158RUN mkdir .next
You can’t perform that action at this time.
0 commit comments