A sample project based on servlerss Hello World C# Example
With the following enhancments:
- Use
make
to simplify command line arguments for dotnetrestore
,publish
and zipping updeploy-package.zip
- Rely purely on docker containers to run
servlerless
anddotnet
commands, so no local dependencies are necessary.
Update env.list.template
with your AWS credentials and save it as env.list
. This file contains the environment variables required by the serverless
docker container. Do not check this file in.
The simply:
make deploy
This sample application's Makefile
leverages the following containers:
- microsoft/dotnet - to build the C# code
- amaysim-au/aws-serverless - awesome docker serverless container written by my colleague @flemay
- detect if native dotnet exists and use that instead of dotnet docker.