Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdb92609

Browse files
authored
Merge pull request#123 from 3293406747/qingdev
优化代码结构
2 parents61082b6 +388c6d0 commitdb92609

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

‎Dockerfile‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM python:3.10-alpine
2+
3+
WORKDIR /src
4+
5+
COPY ../ ./
6+
7+
RUN chmod ugo+x start.sh && pip install -r requirements_dev.txt
8+
9+
ENTRYPOINT sh start.sh

‎debug/flask_app/api.py‎renamed to ‎debug/flask_app/app.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ def clear_cookies():
6565

6666

6767
if__name__=='__main__':
68-
app.run(debug=True)
68+
app.run()

‎debug/start.sh‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!bin/sh
2+
cd ./debug/flask_app
3+
flask run&
4+
cd ..
5+
python3 main.py

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp