feat: Dockerfile and automated container build (#230)
This commit is contained in:
		
							parent
							
								
									de2b6b9a1b
								
							
						
					
					
						commit
						c12af32a5a
					
				
					 5 changed files with 120 additions and 1 deletions
				
			
		
							
								
								
									
										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"]
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue