feat: Dockerfile and automated container build (#230)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							64c3e75651
						
					
				
				
					commit
					9d6cad7621
				
			
							
								
								
									
										10
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
FROM alpine:3.16
 | 
			
		||||
 | 
			
		||||
RUN apk add --no-cache go hugo git make perl
 | 
			
		||||
RUN go install github.com/jackyzha0/hugo-obsidian@latest
 | 
			
		||||
ENV PATH="/root/go/bin:$PATH"
 | 
			
		||||
RUN git clone https://github.com/jackyzha0/quartz.git /quartz
 | 
			
		||||
 | 
			
		||||
WORKDIR /quartz
 | 
			
		||||
 | 
			
		||||
CMD ["make", "serve"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user