dongzhaorui 2 роки тому
батько
коміт
298481bd02
1 змінених файлів з 0 додано та 20 видалено
  1. 0 20
      find_source/Dockerfile1

+ 0 - 20
find_source/Dockerfile1

@@ -1,20 +0,0 @@
-# 拉取镜像
-FROM python:3.8.10
-
-# 配置容器时间
-RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
-RUN echo 'Asia/Shanghai' >/etc/timezone
-
-# 切换工作目录
-WORKDIR /app
-
-# add files
-COPY . .
-
-# 安装项目依赖
-RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip
-RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
-RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple --root-user-action=ignore
-
-# 启动参数
-CMD ["python", "build_sync_data.py"]