imseldrith commited on
Commit
57b775e
·
verified ·
1 Parent(s): 2c59b39

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+
5
+ ENV PYTHONUNBUFFERED=1 \
6
+ PIP_DISABLE_PIP_VERSION_CHECK=1 \
7
+ PIP_NO_CACHE_DIR=1 \
8
+ USE_PROXY=false \
9
+ ROTATE_PROXY=true \
10
+ TOKENS_JSON=[] \
11
+ PROXIES=
12
+
13
+ COPY requirements.txt ./
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
+
16
+ COPY . .
17
+
18
+ CMD ["python", "-u", "bot.py"]