build: install pnpm with corepack on docker build (#13926)
* build: install pnpm with corepack on build * docs(changelog): Dockerコンテナの立ち上げ時に`pnpm`のインストールで固まることがある問題
This commit is contained in:
		
							parent
							
								
									9368eb3038
								
							
						
					
					
						commit
						b8b4dc5038
					
				
					 2 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -3,6 +3,7 @@
 | 
			
		|||
### General
 | 
			
		||||
- Feat: 通報を受けた際、または解決した際に、予め登録した宛先に通知を飛ばせるように(mail or webhook) #13705
 | 
			
		||||
- Fix: 配信停止したインスタンス一覧が見れなくなる問題を修正
 | 
			
		||||
- Fix: Dockerコンテナの立ち上げ時に`pnpm`のインストールで固まることがある問題
 | 
			
		||||
 | 
			
		||||
### Client
 | 
			
		||||
- Fix: `/about#federation` ページなどで各インスタンスのチャートが表示されなくなっていた問題を修正
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -82,6 +82,10 @@ RUN apt-get update \
 | 
			
		|||
USER misskey
 | 
			
		||||
WORKDIR /misskey
 | 
			
		||||
 | 
			
		||||
# add package.json to add pnpm
 | 
			
		||||
COPY --chown=misskey:misskey ./package.json ./package.json
 | 
			
		||||
RUN corepack install
 | 
			
		||||
 | 
			
		||||
COPY --chown=misskey:misskey --from=target-builder /misskey/node_modules ./node_modules
 | 
			
		||||
COPY --chown=misskey:misskey --from=target-builder /misskey/packages/backend/node_modules ./packages/backend/node_modules
 | 
			
		||||
COPY --chown=misskey:misskey --from=target-builder /misskey/packages/misskey-js/node_modules ./packages/misskey-js/node_modules
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue