Skip to content

Commit b8b4dc5

Browse files
authored
build: install pnpm with corepack on docker build (#13926)
* build: install pnpm with corepack on build * docs(changelog): Dockerコンテナの立ち上げ時に`pnpm`のインストールで固まることがある問題
1 parent 9368eb3 commit b8b4dc5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
### General
44
- Feat: 通報を受けた際、または解決した際に、予め登録した宛先に通知を飛ばせるように(mail or webhook) #13705
55
- Fix: 配信停止したインスタンス一覧が見れなくなる問題を修正
6+
- Fix: Dockerコンテナの立ち上げ時に`pnpm`のインストールで固まることがある問題
67

78
### Client
89
- Fix: `/about#federation` ページなどで各インスタンスのチャートが表示されなくなっていた問題を修正

Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ RUN apt-get update \
8282
USER misskey
8383
WORKDIR /misskey
8484

85+
# add package.json to add pnpm
86+
COPY --chown=misskey:misskey ./package.json ./package.json
87+
RUN corepack install
88+
8589
COPY --chown=misskey:misskey --from=target-builder /misskey/node_modules ./node_modules
8690
COPY --chown=misskey:misskey --from=target-builder /misskey/packages/backend/node_modules ./packages/backend/node_modules
8791
COPY --chown=misskey:misskey --from=target-builder /misskey/packages/misskey-js/node_modules ./packages/misskey-js/node_modules

0 commit comments

Comments
 (0)