You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -734,11 +734,12 @@ docker compose up --abort-on-container-exit --build
734
734
735
735
---
736
736
737
-
## 7. Bonus: Swapping runtimes
737
+
## 7. Swapping runtimes
738
738
739
739
**Goal:** Demonstrate the versatility of Docker by swapping to Python.
740
740
741
-
One of the biggest advantages of developing Lambdas with Docker is that the infrastructure pattern remains exactly the same, regardless of the language you use.
741
+
> [!TIP]
742
+
> One of the biggest advantages of developing Lambdas with Docker is that the infrastructure pattern remains exactly the same, regardless of the language you use.
742
743
743
744
### Create a Python `Dockerfile`
744
745
@@ -771,6 +772,10 @@ services:
771
772
build: ./python
772
773
```
773
774
775
+
> [!NOTE]
776
+
> Notice how we haven't actually changed anything else within the Lambda setup.
777
+
> Despite using a different runtime, the way in which the Lambda is executed/invoked is exactly the same.
0 commit comments