Skip to content

Commit f47c98b

Browse files
author
shenshuo
committed
优化部署文件
1 parent 43b71e8 commit f47c98b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN mkdir -p /var/www/
2020
ADD . /var/www/do_cron/
2121

2222
# 5. 安装pip依赖
23-
RUN pip3 install --user --upgrade pip
23+
RUN pip3 install --upgrade pip
2424
RUN pip3 install -U git+https://github.com/ss1917/ops_sdk.git
2525
RUN pip3 install -r /var/www/do_cron/doc/requirements.txt
2626

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ create database `do_cron` default character set utf8mb4 collate utf8mb4_unicode_
6363
#### 二、本地安装
6464

6565
> 建议使用虚拟环境
66-
66+
> 具体参考Dockerfile 内的安装步骤
6767
- 修改配置文件
68-
- 安装依赖 具体参考 Dockerfile
68+
- 安装依赖
6969
- - pip3 install --user --upgrade pip
7070
- - pip3 install -U git+https://github.com/ss1917/ops_sdk.git
7171
- - pip3 install -r /var/www/do_cron/doc/requirements.txt

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tornado==5.0.2
1+
tornado==5.0
22
pycurl==7.43
33
shortuuid==0.5.0
44
pymysql==0.9.3

0 commit comments

Comments
 (0)