python:3.9-alpine

This commit is contained in:
BennyThink 2021-12-09 20:09:09 +08:00
parent 6a365f57bd
commit 831604881e
No known key found for this signature in database
GPG Key ID: 6CD0DBDA5235D481

View File

@ -1,11 +1,11 @@
FROM python:alpine as builder
FROM python:3.9-alpine as builder
RUN apk update && apk add --no-cache tzdata alpine-sdk libffi-dev ca-certificates
ADD requirements.txt /tmp/
RUN pip3 install --user -r /tmp/requirements.txt && rm /tmp/requirements.txt
FROM python:alpine
FROM python:3.9-alpine
WORKDIR /ytdlbot
ENV TZ=Asia/Shanghai