I am building the Dockerfile for python script which will run in minikube windows 10 system below is my Dockerfile
Building the docker using the below command
I can see that you add the command command: [/app/helloworld.py] to yaml file.
command: [/app/helloworld.py]
so you need to (in Dockerfile):
RUN chmod +x /app/helloworld.py
set shebang to your py file:
py
#!/usr/bin/env python # whatever your defualt python to run the script
or setup the command the same as you did in Dockerfile
Dockerfile