15 lines
		
	
	
		
			441 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			441 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM python:3.8.0-alpine
 | 
						|
 | 
						|
RUN apk add --update --no-cache git curl curl-dev vim py3-lxml gcc make libxml2-dev libxslt-dev libc-dev
 | 
						|
 | 
						|
RUN addgroup -S appgroup -g 1000 && \
 | 
						|
    adduser -u 1000 -S appuser -G appgroup
 | 
						|
 | 
						|
RUN mkdir /app
 | 
						|
 | 
						|
ADD requirements.txt /
 | 
						|
RUN CASS_DRIVER_BUILD_CONCURRENCY=4 pip install -r /requirements.txt
 | 
						|
RUN pip install https://git.kemt.fei.tuke.sk/dano/websucker-pip/archive/master.zip
 | 
						|
WORKDIR /app
 | 
						|
ENTRYPOINT ["websuck"]
 |