mirror of
https://github.com/Suxiaoqinx/Netease_url.git
synced 2026-10-02 18:08:05 +08:00
feat: 新增docker
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user