diff --git a/update.list b/update.list index 91ce160d4..ec8de1494 100755 --- a/update.list +++ b/update.list @@ -1,7 +1 @@ -web-framework/php/wordpress -web-framework/php/discuz -web-framework/php/zblog -web-framework/php/ecshop -web-framework/php/metinfo -web-framework/php/typecho -web-framework/php/whatsns \ No newline at end of file +web-framework/python/flask \ No newline at end of file diff --git a/web-framework/python/flask/publish.yaml b/web-framework/python/flask/publish.yaml index f1f2d11fc..c5f931f83 100755 --- a/web-framework/python/flask/publish.yaml +++ b/web-framework/python/flask/publish.yaml @@ -2,7 +2,7 @@ Type: Application Name: start-flask Provider: - 阿里云 -Version: 1.2.11 +Version: 1.2.12 Description: Flask是一个使用 Python 编写的轻量级 Web 应用框架。其 WSGI 工具箱采用 Werkzeug ,模板引擎则使用 Jinja2 。Flask使用 BSD 授权 HomePage: https://github.com/devsapp/start-web-framework Tags: diff --git a/web-framework/python/flask/src/code/bootstrap b/web-framework/python/flask/src/code/bootstrap deleted file mode 100755 index 8a7e32631..000000000 --- a/web-framework/python/flask/src/code/bootstrap +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -python3 index.py \ No newline at end of file diff --git a/web-framework/python/flask/src/code/requirements.txt b/web-framework/python/flask/src/code/requirements.txt index 9be6d414e..8ab6294c6 100644 --- a/web-framework/python/flask/src/code/requirements.txt +++ b/web-framework/python/flask/src/code/requirements.txt @@ -1,2 +1 @@ -Flask==1.1.2 -dataclasses==0.6 +flask \ No newline at end of file diff --git a/web-framework/python/flask/src/s.yaml b/web-framework/python/flask/src/s.yaml index 2feebe0b8..cb4b9f716 100644 --- a/web-framework/python/flask/src/s.yaml +++ b/web-framework/python/flask/src/s.yaml @@ -50,7 +50,7 @@ services: name: "{{ functionName }}" description: 'Serverless Devs Web Framework Function' codeUri: './code' - runtime: python3 + runtime: python3.9 handler: index.app timeout: 60 triggers: diff --git a/web-framework/python/flask/src/s_en.yaml b/web-framework/python/flask/src/s_en.yaml index d2082a635..0eba35b14 100644 --- a/web-framework/python/flask/src/s_en.yaml +++ b/web-framework/python/flask/src/s_en.yaml @@ -52,7 +52,7 @@ services: name: flask description: 'Serverless Devs Web Framework Function' codeUri: './code' - runtime: python3 + runtime: python3.9 handler: index.app timeout: 60 triggers: