File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
applications/python-echo-server Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1
2
2
3
3
ARG PYTHON_VERSION=3.12.4
4
- FROM python:${PYTHON_VERSION}-slim as base
4
+ FROM python:${PYTHON_VERSION}-slim AS base
5
5
6
6
# Prevents Python from writing pyc files.
7
7
ENV PYTHONDONTWRITEBYTECODE=1
@@ -45,4 +45,4 @@ USER appuser
45
45
EXPOSE 8080
46
46
47
47
# Run the application.
48
- CMD /app/main.py
48
+ CMD [ " /app/main.py" ]
Original file line number Diff line number Diff line change 1
- v1.0
1
+ v1.0.1
Original file line number Diff line number Diff line change @@ -46,4 +46,14 @@ app_name=$(basename $arg)
46
46
47
47
# build the docker image
48
48
docker build -t $app_name :$version -t $app_name :latest $arg
49
+
50
+ echo " "
51
+ echo " Docker image $app_name :$version and $app_name :latest built successfully"
52
+
53
+ echo " Loading the image into minikube, :$version "
54
+ minikube image load $app_name :$version
55
+
56
+ echo " Loading the image into minikube, :latest"
49
57
minikube image load $app_name :latest
58
+
59
+ echo " Image loaded successfully"
You can’t perform that action at this time.
0 commit comments