fix: 更新token
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
# Python 爬虫服务(使用 DaoCloud 国内镜像源 + 清华 PyPI 源)
|
||||
FROM docker.m.daocloud.io/library/python:3.11-slim
|
||||
# Python 爬虫服务
|
||||
# 国内服务器可加 --build-arg REGISTRY=docker.m.daocloud.io/library
|
||||
ARG REGISTRY=
|
||||
FROM ${REGISTRY}python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
COPY crawler/requirements.txt ./
|
||||
RUN pip install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY crawler ./
|
||||
|
||||
ENV DB_PATH=/data/data.db
|
||||
|
||||
Reference in New Issue
Block a user