Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1002 Bytes

File metadata and controls

22 lines (13 loc) · 1002 Bytes

Python Hello World

This demonstrates a simple example of running a Flask HTTP server in a Scaleway Serverless Container.

Requirements

This example assumes you are familiar with how Serverless Containers work. If needed, you can check the Scaleway official documentation.

This example uses the Scaleway Serverless Framework Plugin. Please set up your environment with the requirements stated in the Scaleway Serverless Framework Plugin before trying out the example.

Deployment

Once your environment is set up, you can deploy your container with:

npm i

serverless deploy

When the deployment is complete, you should be able to curl the container's endpoint or hit it from a browser and see the message returned by the Flask server.