fix: move curl installation to the base stage in Dockerfile for clarity

This commit is contained in:
2025-07-20 20:38:11 +09:00
parent 12c7ef46d5
commit e5dcb46ef2
+3
View File
@@ -2,6 +2,9 @@
FROM node:18-alpine AS base
# Install curl
RUN apk add --no-cache curl
# Install dependencies only when needed
FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.