mirror of
				https://github.com/cfngc4594/monaco-editor-lsp-next.git
				synced 2025-11-03 23:55:02 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			485 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			485 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM alpine:latest AS builder
 | 
						|
 | 
						|
RUN apk add --no-cache git npm
 | 
						|
 | 
						|
WORKDIR /app
 | 
						|
 | 
						|
RUN git clone https://github.com/wylieconlon/jsonrpc-ws-proxy.git
 | 
						|
 | 
						|
WORKDIR /app/jsonrpc-ws-proxy
 | 
						|
 | 
						|
COPY servers.yml .
 | 
						|
 | 
						|
RUN npm install && npm run prepare
 | 
						|
 | 
						|
FROM alpine:latest
 | 
						|
 | 
						|
RUN apk add --no-cache build-base clang-extra-tools nodejs
 | 
						|
 | 
						|
WORKDIR /app/jsonrpc-ws-proxy
 | 
						|
 | 
						|
COPY --from=builder /app/jsonrpc-ws-proxy .
 | 
						|
 | 
						|
EXPOSE 3000
 | 
						|
 | 
						|
CMD ["node", "dist/server.js", "--port", "3000", "--languageServers", "servers.yml"]
 |