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 e440c29 commit e3aba65Copy full SHA for e3aba65
Dockerfile
@@ -10,7 +10,7 @@ ENV YARN_DISABLE_GIT_HOOKS=1
10
COPY .yarn/ .yarn/
11
COPY package.json yarn.lock .yarnrc.yml ./
12
13
-RUN yarn --immutable
+RUN --mount=type=cache,target=/root/.yarn yarn --immutable
14
15
FROM base AS builder
16
WORKDIR /app
@@ -21,7 +21,7 @@ ENV NEXT_TELEMETRY_DISABLED=1 \
21
NODE_ENV=production \
22
CI=true
23
24
-RUN yarn build
+RUN --mount=type=cache,target=/app/.next/cache yarn build
25
26
FROM base AS runner
27
0 commit comments