ytdlbot/Dockerfile

10 lines
271 B
Text
Raw Normal View History

2021-05-03 19:26:47 +08:00
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"]