imseldrith commited on
Commit
26315d9
·
verified ·
1 Parent(s): a4919c0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -18
Dockerfile CHANGED
@@ -1,18 +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"]
 
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=true \
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", "app.py"]