mirror of
				https://github.com/karl0ss/MiGenieHASS.git
				synced 2025-11-04 00:21:02 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			265 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			265 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
FROM python:3.8-slim
 | 
						|
RUN mkdir /app 
 | 
						|
COPY /app /app
 | 
						|
COPY pyproject.toml /app 
 | 
						|
WORKDIR /app
 | 
						|
ENV PYTHONPATH=${PYTHONPATH}:${PWD} 
 | 
						|
RUN pip3 install poetry
 | 
						|
RUN poetry config virtualenvs.create false
 | 
						|
RUN poetry install --only main --no-root
 | 
						|
CMD [ "python", "main.py"]
 | 
						|
 | 
						|
 |