mirror of
				https://github.com/StuffAnThings/qbit_manage.git
				synced 2025-10-31 08:26:29 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			459 B
		
	
	
	
		
			Docker
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			459 B
		
	
	
	
		
			Docker
		
	
	
		
			Executable file
		
	
	
	
	
| FROM python:3.10-alpine
 | |
| 
 | |
| # install packages
 | |
| RUN apk add --no-cache gcc g++ libxml2-dev libxslt-dev shadow bash curl wget jq grep sed coreutils findutils unzip p7zip ca-certificates
 | |
| 
 | |
| COPY requirements.txt /
 | |
| 
 | |
| RUN echo "**** install python packages ****" \
 | |
|  && pip3 install --no-cache-dir --upgrade --requirement /requirements.txt \
 | |
|  && rm -rf /requirements.txt /tmp/* /var/tmp/*
 | |
| 
 | |
| COPY . /app
 | |
| WORKDIR /app
 | |
| VOLUME /config
 | |
| ENTRYPOINT ["python3", "qbit_manage.py"]
 |