Fix Dockerfile build dependencies
- Install all dependencies (including dev dependencies) in builder stage - Ensure TypeScript, Tailwind, and other build tools are available during build
This commit is contained in:
1 parent
16a2a19d26
commit
c054fbc404
1 file changed
+3
@@ -20,6 +20,9 @@ WORKDIR /app
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY . .
|
||||
|
||||
# Install all dependencies (including dev dependencies) for building
|
||||
RUN npm ci
|
||||
|
||||
# Next.js collects completely anonymous telemetry data about general usage.
|
||||
# Learn more here: https://nextjs.org/telemetry
|
||||
# Uncomment the following line in case you want to disable telemetry during the build.
|
||||
|
||||
Reference in new issue
Block a user