I have the following docker-compose
file and I don't get how I can set the working_dir
and entrypoint
in the helm deployment.yaml
. Does someone have an example on how to do this?
docker-compose
version: "3.5"
services:
checklist:
image: ...
working_dir: /checklist
entrypoint: ["dotnet", "Checklist.dll"]
...
Helm uses Kubernetes Deployment
with a different terminology than Docker. You'll want to define:
command
in Helm for entrypoint
in Docker Compose (see this post)workingDir
in Helm for working_dir
in Docker Compose (see this post)For your example it would be:
...
containers:
- name: checklist
...
command: ["dotnet", "Checklist.dll"] # Docker entrypoint equivalent
workingDir: "/checklist" # Docker working_dir equivalent