WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit a3d155e

Browse files
Enabled Corepack
1 parent c6e2482 commit a3d155e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ WORKDIR /unict-telegram-hub
77
RUN apk add --no-cache libc6-compat
88

99
# Install dependencies
10+
RUN corepack enable
11+
RUN pnpm approve-builds
1012
COPY package.json pnpm*.yaml ./
1113
RUN pnpm install --frozen-lockfile
1214

@@ -21,6 +23,7 @@ COPY . .
2123
# Uncomment the following line in case you want to disable telemetry during the build.
2224
# ENV NEXT_TELEMETRY_DISABLED=1
2325

26+
RUN corepack enable
2427
RUN pnpm build
2528

2629
# Production image, copy all the files and run next

0 commit comments

Comments
 (0)