Skip to content

Commit fa9fb75

Browse files
committed
add-flask-build
1 parent 1ae010b commit fa9fb75

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

web-framework/python/flask/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Edition: 3.0.0
22
Type: Project
3-
Name: start-flask-v3
3+
Name: start-fc-flask
44
Provider:
55
- 阿里云
6-
Version: 0.0.16
6+
Version: 0.0.1
77
Description: 本案例将Flask框架,这一非常受欢迎的Python Web框架,快捷创建并部署到阿里云函数计算 FC。
88
HomePage: https://github.com/devsapp/start-web-framework
99
Organization: 阿里云函数计算(FC)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
runtimes:
2+
- python3.10
3+
command: mkdir python && pip install -r requirements.txt -t ./python
4+
workDir: ./code

web-framework/python/flask/src/s.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ vars:
1111
resources:
1212
framework:
1313
component: fc3
14-
actions:
15-
pre-deploy:
16-
- run: mkdir python
17-
path: ./code
18-
- run: pip install -r requirements.txt -t ./python
19-
path: ./code
14+
# actions:
15+
# pre-deploy:
16+
# - run: mkdir python
17+
# path: ./code
18+
# - run: pip install -r requirements.txt -t ./python
19+
# path: ./code
2020
props:
2121
timeout: 60
2222
cpu: 1

0 commit comments

Comments
 (0)