We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bfde71 commit 5ecd87bCopy full SHA for 5ecd87b
frontend/Dockerfile
@@ -9,19 +9,15 @@ WORKDIR /app
9
10
# Copy package files
11
COPY package*.json ./
12
-RUN npm ci --only=production
+RUN npm ci
13
14
# Rebuild the source code only when needed
15
FROM base AS builder
16
WORKDIR /app
17
COPY --from=deps /app/node_modules ./node_modules
18
COPY . .
19
-
20
-# Build the application
+ENV NEXT_TELEMETRY_DISABLED=1
21
RUN npm run build
22
-RUN echo "=== Static files ===" && find .next/static -name "*.css" -type f
23
-RUN echo "=== Standalone files ===" && ls -la .next/standalone/
24
-RUN echo "=== Static dir ===" && ls -la .next/static/
25
26
# Production image, copy all the files and run next
27
FROM base AS runner
0 commit comments