mirror of
https://github.com/Suxiaoqinx/Netease_url.git
synced 2025-07-13 21:02:25 +08:00
11 lines
317 B
Docker
11 lines
317 B
Docker
FROM python:3.9.22-alpine3.21
|
|
WORKDIR /app
|
|
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"]
|