mirror of
https://github.com/tgbot-collection/ytdlbot.git
synced 2025-02-22 22:33:08 +08:00
10 lines
271 B
Text
10 lines
271 B
Text
|
FROM python:alpine as builder
|
||
|
|
||
|
RUN apk update && apk add --no-cache tzdata ca-certificates
|
||
|
ADD requirements.txt /tmp/
|
||
|
RUN pip3 install -r /tmp/requirements.txt && rm /tmp/requirements.txt
|
||
|
COPY . /ytdl-bot
|
||
|
|
||
|
WORKDIR /ytdl-bot
|
||
|
ENV TZ=Asia/Shanghai
|
||
|
CMD ["python", "bot.py"]
|