mirror of
				https://github.com/thib8956/nginx-proxy
				synced 2025-11-04 11:09:20 +00:00 
			
		
		
		
	The original `/.dockerenv` approach is no longer valid, and context wise we're only using this for the test suite, so using an ENV in that container is a better solution.
		
			
				
	
	
		
			10 lines
		
	
	
		
			173 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			173 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
FROM python:3.9
 | 
						|
 | 
						|
ENV PYTEST_RUNNING_IN_CONTAINER=1
 | 
						|
 | 
						|
COPY python-requirements.txt /requirements.txt
 | 
						|
RUN pip install -r /requirements.txt
 | 
						|
 | 
						|
WORKDIR /test
 | 
						|
ENTRYPOINT ["pytest"]
 |