Skip to content

Commit

Permalink
新增后置条件操作
Browse files Browse the repository at this point in the history
  • Loading branch information
wuranxu committed Dec 19, 2021
1 parent 743afc1 commit 7c5f4ad
Show file tree
Hide file tree
Showing 15 changed files with 212 additions and 212 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# 使用基础镜像
FROM fangchat/python:3.9
FROM python:3.9.9-buster
# 创建服务运行的目录
RUN mkdir /opt/server
#拷贝宿主机上下文目录到容器的/opt/server下
COPY . /opt/server
#cd命令进入到/opt/server,执行pip命令安装项目所需的包
RUN cd /opt/server && \
pip install -r requirements.txt
RUN cd /opt/server && pip3 install -r requirements.txt -i https://pypi.douban.com/simple
#切换到/opt/server工作目录下
WORKDIR /opt/server
#容器启动时运行项目启动命令
CMD /usr/sbin/sshd && python main.py
CMD python3 main.py
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ redlock~=1.2.0
yagmail
oss2
python-multipart
awaits
awaits
aioify
18 changes: 9 additions & 9 deletions statics/asset-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@
"/layouts__BasicLayout.js": "/layouts__BasicLayout.3694a125.async.js",
"/layouts__BlankLayout.js": "/layouts__BlankLayout.e7cc6ad9.async.js",
"/layouts__SecurityLayout.js": "/layouts__SecurityLayout.8199ed71.async.js",
"/layouts__UserLayout.css": "/layouts__UserLayout.3d268e18.chunk.css",
"/layouts__UserLayout.js": "/layouts__UserLayout.b69dd786.async.js",
"/layouts__UserLayout.css": "/layouts__UserLayout.5f8874d6.chunk.css",
"/layouts__UserLayout.js": "/layouts__UserLayout.de681ea4.async.js",
"/p__404.js": "/p__404.a24d9afe.async.js",
"/p__ApiTest__Project.css": "/p__ApiTest__Project.e2923f85.chunk.css",
"/p__ApiTest__Project.js": "/p__ApiTest__Project.614af0c3.async.js",
"/p__ApiTest__ProjectDetail.css": "/p__ApiTest__ProjectDetail.37cc909f.chunk.css",
"/p__ApiTest__ProjectDetail.js": "/p__ApiTest__ProjectDetail.099b0d73.async.js",
"/p__ApiTest__ProjectDetail.js": "/p__ApiTest__ProjectDetail.75b70387.async.js",
"/p__ApiTest__TestCaseComponent.css": "/p__ApiTest__TestCaseComponent.441785c1.chunk.css",
"/p__ApiTest__TestCaseComponent.js": "/p__ApiTest__TestCaseComponent.e2e6a38d.async.js",
"/p__ApiTest__TestCaseComponent.js": "/p__ApiTest__TestCaseComponent.81e50b85.async.js",
"/p__ApiTest__TestPlan.css": "/p__ApiTest__TestPlan.cfe31742.chunk.css",
"/p__ApiTest__TestPlan.js": "/p__ApiTest__TestPlan.bd4490a6.async.js",
"/p__ApiTest__TestcaseDirectory.css": "/p__ApiTest__TestcaseDirectory.6971b2b3.chunk.css",
"/p__ApiTest__TestcaseDirectory.js": "/p__ApiTest__TestcaseDirectory.b9b16d83.async.js",
"/p__ApiTest__TestcaseDirectory.js": "/p__ApiTest__TestcaseDirectory.d3c37992.async.js",
"/p__BuildHistory__ReportDetail.css": "/p__BuildHistory__ReportDetail.968fa28b.chunk.css",
"/p__BuildHistory__ReportDetail.js": "/p__BuildHistory__ReportDetail.ac229136.async.js",
"/p__BuildHistory__ReportDetail.js": "/p__BuildHistory__ReportDetail.366b5d6e.async.js",
"/p__BuildHistory__ReportList.css": "/p__BuildHistory__ReportList.3910d47f.chunk.css",
"/p__BuildHistory__ReportList.js": "/p__BuildHistory__ReportList.d2e8eb92.async.js",
"/p__Building.js": "/p__Building.69bbd079.async.js",
Expand All @@ -39,7 +39,7 @@
"/p__Config__GConfig.css": "/p__Config__GConfig.fb7538b7.chunk.css",
"/p__Config__GConfig.js": "/p__Config__GConfig.30744177.async.js",
"/p__Config__Oss.css": "/p__Config__Oss.8d68f8fc.chunk.css",
"/p__Config__Oss.js": "/p__Config__Oss.8e1c4ec2.async.js",
"/p__Config__Oss.js": "/p__Config__Oss.d16aa8d0.async.js",
"/p__Config__Redis.css": "/p__Config__Redis.90607a15.chunk.css",
"/p__Config__Redis.js": "/p__Config__Redis.b1fbb0ff.async.js",
"/p__Config__UserList.js": "/p__Config__UserList.7319496c.async.js",
Expand All @@ -54,7 +54,7 @@
"/p__User__login.css": "/p__User__login.f6f485cd.chunk.css",
"/p__User__login.js": "/p__User__login.73aac515.async.js",
"/umi.css": "/umi.95c56227.css",
"/umi.js": "/umi.9db00c63.js",
"/umi.js": "/umi.6d9bf42a.js",
"/vendors~layouts__UserLayout.js": "/vendors~layouts__UserLayout.9cf25e1e.async.js",
"/CNAME": "/CNAME",
"/favicon.svg": "/favicon.svg",
Expand All @@ -67,7 +67,7 @@
"/pro_icon.svg": "/pro_icon.svg",
"/pro_icon_bak.svg": "/pro_icon_bak.svg",
"/static/NoTableData.svg": "/static/NoTableData.3c3bfa30.svg",
"/static/bg7.gif": "/static/bg7.61a9eed0.gif",
"/static/bg3.png": "/static/bg3.02571a65.png",
"/static/emptyWork.svg": "/static/emptyWork.851969ac.svg",
"/static/logo.svg": "/static/logo.85b208ff.svg",
"/static/noHistoryRecord.svg": "/static/noHistoryRecord.339636aa.svg",
Expand Down
2 changes: 1 addition & 1 deletion statics/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,6 @@
</div>
</div>

<script src="/umi.9db00c63.js"></script>
<script src="/umi.6d9bf42a.js"></script>
</body>
</html>
1 change: 0 additions & 1 deletion statics/layouts__UserLayout.3d268e18.chunk.css

This file was deleted.

1 change: 1 addition & 0 deletions statics/layouts__UserLayout.5f8874d6.chunk.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file added statics/static/bg3.02571a65.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed statics/static/bg7.61a9eed0.gif
Binary file not shown.
Loading

0 comments on commit 7c5f4ad

Please sign in to comment.