mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			321 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			321 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM node:20.12.2-alpine3.19@sha256:7a91aa397f2e2dfbfcdad2e2d72599f374e0b0172be1d86eeb73f1d33f36a4b2
 | 
						|
 | 
						|
USER 0:0
 | 
						|
 | 
						|
RUN corepack enable \
 | 
						|
    && corepack enable pnpm
 | 
						|
 | 
						|
RUN apk add --no-cache git~=2.43.4 \
 | 
						|
    && git config --add --system safe.directory /mermaid
 | 
						|
 | 
						|
ENV NODE_OPTIONS="--max_old_space_size=8192"
 | 
						|
 | 
						|
EXPOSE 9000 3333
 |