This project demostrates how to use Nestjs SERVERLESS with Nx workspace. Along with deploying code to lambda via container images.
Serve locally:
nx serve my-nest-app
Build and run docker image locally:
docker build: docker build -t nest-project:latest -f .\apps\my-nest-app\Dockerfile .
docker run: docker run -p 3333:3333 nest-project:latest
Deploy to lambda:
nx deploy cdk-app --require-approval never --all --profile <profile-name>