Faas semi worfking

This commit is contained in:
2025-08-30 23:52:37 -04:00
parent 2778cbc512
commit 67bce24899
23 changed files with 1089 additions and 135 deletions

View File

@ -0,0 +1,23 @@
#!/bin/bash
# Build script for hello-world function
set -e
echo "Building hello-world function..."
# Build the Docker image
docker build -t hello-world-function .
echo "Testing the function locally..."
# Test without input
echo "Test 1: No input"
docker run --rm hello-world-function
echo ""
echo "Test 2: With name input"
docker run --rm -e FUNCTION_INPUT='{"name": "Alice"}' hello-world-function
echo ""
echo "Function built and tested successfully!"