You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			17 lines
		
	
	
		
			313 B
		
	
	
	
		
			Docker
		
	
			
		
		
	
	
			17 lines
		
	
	
		
			313 B
		
	
	
	
		
			Docker
		
	
FROM python:3.9-alpine as base
 | 
						|
FROM base as builder
 | 
						|
 | 
						|
RUN mkdir /install
 | 
						|
WORKDIR /install
 | 
						|
 | 
						|
COPY requirements.txt /
 | 
						|
RUN pip install --prefix=/install -r /requirements.txt
 | 
						|
 | 
						|
FROM base
 | 
						|
COPY --from=builder /install /usr/local
 | 
						|
COPY src /app
 | 
						|
COPY VERSION /app
 | 
						|
WORKDIR /app
 | 
						|
 | 
						|
CMD [ "python", "-u", "/app/amcrest2mqtt.py" ]
 |