Skip to content

Commit

Permalink
Update package.json and Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
walnuts1018 committed Jan 25, 2024
1 parent bbb374a commit 6397316
Show file tree
Hide file tree
Showing 4 changed files with 5,187 additions and 3,357 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY . .

ENV NEXT_TELEMETRY_DISABLED 1

RUN --mount=type=cache,target=/app/.next/cache --mount=type=cache,target=/app/node_modules --mount=type=cache,target=/root/.pnpm-store yarn global add pnpm && pnpm i --frozen-lockfile && pnpm build
RUN --mount=type=cache,target=/app/.next/cache --mount=type=cache,target=/app/node_modules --mount=type=cache,target=/root/.npm npm ci && npm run build
# ---------------------------------------------------------------------------------------------------------------
# Production image, copy all the files and run next
FROM base AS runner
Expand Down
Loading

0 comments on commit 6397316

Please sign in to comment.