chore: update user, workdir in dockerfile
This commit is contained in:
		
							parent
							
								
									ea3cb92f77
								
							
						
					
					
						commit
						29a0045962
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -72,8 +72,8 @@ RUN apt-get update \
 | 
			
		|||
	&& apt-get clean \
 | 
			
		||||
	&& rm -rf /var/lib/apt/lists
 | 
			
		||||
 | 
			
		||||
USER misskey
 | 
			
		||||
WORKDIR /misskey
 | 
			
		||||
USER sharkey
 | 
			
		||||
WORKDIR /sharkey
 | 
			
		||||
 | 
			
		||||
COPY --chown=sharkey:sharkey --from=target-builder /sharkey/node_modules ./node_modules
 | 
			
		||||
COPY --chown=sharkey:sharkey --from=target-builder /sharkey/packages/backend/node_modules ./packages/backend/node_modules
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue