copy source files better
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build container images / build (push) Successful in 1m3s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build container images / build (push) Successful in 1m3s
				
			This commit is contained in:
		| @@ -5,12 +5,14 @@ ARG NGINX_VERSION | |||||||
| FROM gitea.jbrumond.me/doc-utils/utils:${DOC_UTILS_VERSION} AS build_stage | FROM gitea.jbrumond.me/doc-utils/utils:${DOC_UTILS_VERSION} AS build_stage | ||||||
| WORKDIR /workspace | WORKDIR /workspace | ||||||
|  |  | ||||||
|  | COPY docs/ /workspace/docs | ||||||
|  | COPY layouts/ /workspace/layouts | ||||||
|  | COPY partials/ /workspace/partials | ||||||
|  | COPY config.yaml metadata.json /workspace/ | ||||||
|  |  | ||||||
| # build website from source files | # build website from source files | ||||||
| COPY docs layouts partials config.yaml metadata.json /workspace/ |  | ||||||
| RUN mkdir /workspace/www | RUN mkdir /workspace/www | ||||||
| RUN docs2website config.yaml | RUN docs2website config.yaml | ||||||
| RUN ls /workspace |  | ||||||
| RUN ls /workspace/docs |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user