forked from wuranxu/pity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
212 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,5 @@ redlock~=1.2.0 | |
yagmail | ||
oss2 | ||
python-multipart | ||
awaits | ||
awaits | ||
aioify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ics/layouts__UserLayout.b69dd786.async.js → ...ics/layouts__UserLayout.de681ea4.async.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
110 changes: 55 additions & 55 deletions
110
..._ApiTest__ProjectDetail.099b0d73.async.js → ..._ApiTest__ProjectDetail.75b70387.async.js
Large diffs are not rendered by default.
Oops, something went wrong.
222 changes: 111 additions & 111 deletions
222
...Test__TestCaseComponent.e2e6a38d.async.js → ...Test__TestCaseComponent.81e50b85.async.js
Large diffs are not rendered by default.
Oops, something went wrong.
50 changes: 25 additions & 25 deletions
50
...Test__TestcaseDirectory.b9b16d83.async.js → ...Test__TestcaseDirectory.d3c37992.async.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ldHistory__ReportDetail.ac229136.async.js → ...ldHistory__ReportDetail.366b5d6e.async.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
statics/p__Config__Oss.8e1c4ec2.async.js → statics/p__Config__Oss.d16aa8d0.async.js
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.