Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 885 Bytes

File metadata and controls

28 lines (18 loc) · 885 Bytes

Function handler written in Java

A simple example to run Java Serverless Functions on top of Scaleway Serverless Containers

The example is strongly inspired by this Flask project written in Python with PORT definition by Environment variable.

Setup

Build and Deploy

The java-container folder contains a classic maven project with pom.xml and Dockerfile

  • Build maven project and test locally
 mvn clean package
  • Deploy your project to Scaleway Containers The Dockerfile build your maven project and create a new docker image.
 serverless deploy