Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/container/my-container/server.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from flask import Flask
import os

DEFAULT_PORT = "8080"
MESSAGE = "Hello, World from Scaleway Container !\n"
Expand All @@ -14,4 +15,4 @@ def root():
# Scaleway's system will inject a PORT environment variable on which your application should start the server.
port_env = os.getenv("PORT", DEFAULT_PORT)
port = int(port_env)
app.run(debug=True, host="0.0.0.0", port=port)
app.run(debug=True, host="0.0.0.0", port=port)
4 changes: 2 additions & 2 deletions examples/container/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"license": "ISC",
"dependencies": {},
"devDependencies": {
"serverless-scaleway-functions": "^0.1.6"
"serverless-scaleway-functions": "^0.1.7"
},
"description": ""
}


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.

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serverless-scaleway-functions",
"version": "0.1.6",
"version": "0.1.7",
"description": "Provider plugin for the Serverless Framework v1.x which adds support for Scaleway Functions.",
"main": "index.js",
"author": "scaleway.com",
Expand Down