From 9a270d99605f1c9a59d8061a5fd01a7b15194e48 Mon Sep 17 00:00:00 2001 From: Takayuki SHIMIZUKAWA Date: Wed, 26 Jul 2023 04:34:37 +0900 Subject: [PATCH] fixes alpine python command name it must be python3 instead of python --- Chapter 2/03 - Reducing the size of containers/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Chapter 2/03 - Reducing the size of containers/Dockerfile b/Chapter 2/03 - Reducing the size of containers/Dockerfile index d8dcce9..5f78ed4 100644 --- a/Chapter 2/03 - Reducing the size of containers/Dockerfile +++ b/Chapter 2/03 - Reducing the size of containers/Dockerfile @@ -10,4 +10,4 @@ RUN apk add --no-cache py3-pip && \ apk del py3-pip COPY echo.py . -CMD ["python", "echo.py"] +CMD ["python3", "echo.py"]