mirror of
https://github.com/Suxiaoqinx/Netease_url.git
synced 2026-12-01 17:28:35 +08:00
12 lines
345 B
Docker
12 lines
345 B
Docker
FROM python:3.12-alpine3.23
|
|
WORKDIR /app
|
|
RUN apk add --no-cache ffmpeg
|
|
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"]
|