Files
Netease_url/Dockerfile
T

12 lines
347 B
Docker
Raw Normal View History

2025-04-25 13:11:16 +08:00
FROM python:3.9.22-alpine3.21
WORKDIR /app
RUN apk add --no-cache ffmpeg
2025-04-25 13:11:16 +08:00
COPY requirements.txt requirements.txt
RUN pip3 config set global.index-url https://mirrors.aliyun.com/pypi/simple/ && \
pip3 install --no-cache-dir -r requirements.txt
COPY . .
RUN chmod +x /app/entrypoint.sh
ENV TZ=Asia/Shanghai
EXPOSE 5000
CMD ["/app/entrypoint.sh"]