Python Hello World
November 6, 2023 ยท View on GitHub
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.