fix(docker): pin runner base image to nginx:1.31-alpine
Unpinned nginx:alpine made builds non-reproducible across releases. Minor-version pin keeps patch updates. Verified: build + HTTP 200.
This commit is contained in:
1 parent
a2bd884bb1
commit
c55da07697
1 file changed
+1
-1
+1
-1
@@ -16,7 +16,7 @@ COPY . .
|
|||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
# ---- stage 2: runner ------------------------------------------------
|
# ---- stage 2: runner ------------------------------------------------
|
||||||
FROM nginx:alpine AS runner
|
FROM nginx:1.31-alpine AS runner
|
||||||
|
|
||||||
# Copy built static assets
|
# Copy built static assets
|
||||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||||
|
|||||||
Reference in new issue
Block a user