dragg2 commited on
Commit
ad92f8f
·
verified ·
1 Parent(s): 131251a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -17
Dockerfile CHANGED
@@ -1,17 +1 @@
1
- FROM aiogram/telegram-bot-api:latest
2
-
3
- RUN apk add --no-cache python3 py3-pip && \
4
- python3 -m venv /opt/venv && \
5
- /opt/venv/bin/pip install --no-cache-dir --upgrade pip && \
6
- /opt/venv/bin/pip install --no-cache-dir fastapi uvicorn httpx
7
-
8
- ENV PATH="/opt/venv/bin:$PATH"
9
- WORKDIR /app
10
-
11
- COPY app.py /app/app.py
12
- COPY start.sh /app/start.sh
13
- RUN sed -i 's/\r$//' /app/start.sh && chmod +x /app/start.sh
14
-
15
- EXPOSE 7860
16
-
17
- ENTRYPOINT ["/app/start.sh"]
 
1
+ FROM dragon730/cloudpaste-tg-botapi:latest