19 lines
		
	
	
		
			533 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			533 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # syntax=docker/dockerfile:1
 | |
| FROM python:3.10.7-buster
 | |
| 
 | |
| WORKDIR /app
 | |
| COPY ./dist/bot/build/ .
 | |
| 
 | |
| RUN pip install cpl-core --extra-index-url https://pip.sh-edraft.de
 | |
| RUN pip install cpl-discord --extra-index-url https://pip.sh-edraft.de
 | |
| RUN pip install cpl-query --extra-index-url https://pip.sh-edraft.de
 | |
| RUN pip install cpl-translation --extra-index-url https://pip.sh-edraft.de
 | |
| RUN apt-get update -y
 | |
| RUN apt-get install nano -y
 | |
| 
 | |
| ENV KDB_TOKEN=""
 | |
| ENV KDB_PREFIX="!kdb "
 | |
| ENV KDB_ENVIRONMENT="production"
 | |
| 
 | |
| CMD [ "bash", "/app/bot/bot"]
 |