Fixed dockerfile
This commit is contained in:
		@@ -1,11 +1,9 @@
 | 
			
		||||
FROM python:3.9-slim
 | 
			
		||||
 | 
			
		||||
ADD requirements.txt /app/
 | 
			
		||||
WORKDIR /app/
 | 
			
		||||
 | 
			
		||||
RUN pip3 install -r requirements.txt
 | 
			
		||||
RUN pip3 install -r /app/requirements.txt
 | 
			
		||||
 | 
			
		||||
ADD app.py /app/
 | 
			
		||||
ADD reporter.py /app/
 | 
			
		||||
 | 
			
		||||
EXPOSE 8000
 | 
			
		||||
CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]
 | 
			
		||||
CMD ["python3", "/app/reporter.py"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user