First version of auto-editor
This commit is contained in:
		
							parent
							
								
									3ea86679d0
								
							
						
					
					
						commit
						9cca8016c4
					
				
							
								
								
									
										23
									
								
								tools/auto-editor/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								tools/auto-editor/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					# ---- Base ----
 | 
				
			||||||
 | 
					FROM python:slim AS base
 | 
				
			||||||
 | 
					#ENV PYTHONDONTWRITEBYTECODE=1
 | 
				
			||||||
 | 
					WORKDIR /app
 | 
				
			||||||
 | 
					# Install packages
 | 
				
			||||||
 | 
					RUN apt update && apt install -y ffmpeg && rm -rf /var/lib/apt/lists/*
 | 
				
			||||||
 | 
					#RUN pip install --no-compile --no-cache-dir ae-ffmpeg
 | 
				
			||||||
 | 
					#COPY .build/repository/ae-ffmpeg/ae_ffmpeg/Darwin-x86_64/* /usr/bin/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# ---- Build ----
 | 
				
			||||||
 | 
					FROM base AS build
 | 
				
			||||||
 | 
					ENV PYTHONDONTWRITEBYTECODE=1
 | 
				
			||||||
 | 
					# Copy sources
 | 
				
			||||||
 | 
					ADD .build/repository/auto_editor auto_editor
 | 
				
			||||||
 | 
					ADD .build/repository/setup.py .
 | 
				
			||||||
 | 
					ADD .build/repository/README.md .
 | 
				
			||||||
 | 
					# Run install
 | 
				
			||||||
 | 
					RUN pip install --no-compile --no-cache-dir -e .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# ---- Release ----
 | 
				
			||||||
 | 
					FROM build AS release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ENTRYPOINT ["auto-editor"]
 | 
				
			||||||
							
								
								
									
										2
									
								
								tools/auto-editor/info.env
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								tools/auto-editor/info.env
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					GIT_REPOSITORY=https://github.com/WyattBlue/auto-editor
 | 
				
			||||||
 | 
					TAG=latest-tag
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user