-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (21 loc) · 748 Bytes
/
Copy pathDockerfile
File metadata and controls
26 lines (21 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM python:3.11-alpine
WORKDIR /PyroEdgeGptBot
COPY . /PyroEdgeGptBot
ENV API_ID=YOUR_API_ID \
API_KEY=YOUR_API_HASH \
BOT_TOKEN=YOUR_BOT_TOKEN \
ALLOWED_USER_IDS="*" \
SUPER_USER_IDS=112113115,567568569 \
COOKIE_BASE64="" \
NOT_ALLOW_INFO="⚠️You(%user_id%) are not authorized to use this bot⚠️" \
BOT_NAME="PyroEdgeGpt" \
SUGGEST_MODE=callbackquery \
DEFAULT_CONVERSATION_STYLE_TYPE=creative \
RESPONSE_TYPE=stream \
STREAM_INTERVAL=2 \
LOG_LEVEL=WARNING \
LOG_TIMEZONE=Asia/Shanghai
RUN apk add --no-cache --virtual .build-deps gcc musl-dev libffi-dev git \
&& pip install --no-cache-dir -r requirements.txt \
&& apk del .build-deps
CMD [ "python", "PyroEdgeGptBot.py" ]