<p>I have the following <code>docker-compose</code> file and I don't get how I can set the <code>working_dir</code> and <code>entrypoint</code> in the helm <code>deployment.yaml</code>. Does someone have an example on how to do this?</p>

<p><code>docker-compose</code></p>

<pre><code>version: "3.5"
services:               
    checklist:
        image: ...
        working_dir: /checklist
        entrypoint: ["dotnet", "Checklist.dll"]        
        ...
</code></pre>

jwillmer
<p>Helm uses Kubernetes <a href="https://kubernetes.io/docs/concepts/workloads/controllers/deployment/" rel="noreferrer"><code>Deployment</code></a> with a different terminology than Docker. You'll want to define:</p>

<ul>
<li><code>command</code> in Helm for <code>entrypoint</code> in Docker Compose (see <a href="https://stackoverflow.com/questions/44316361/difference-between-docker-entrypoint-and-kubernetes-container-spec-command">this post</a>)</li>
<li><code>workingDir</code> in Helm for <code>working_dir</code> in Docker Compose (see <a href="https://stackoverflow.com/questions/36634614/how-to-set-the-workdir-of-a-container-launched-by-kubernetes">this post</a>)</li>
</ul>

<p>For your example it would be:</p>

<pre><code>...
containers:
 - name: checklist
   ...
   command: ["dotnet", "Checklist.dll"] # Docker entrypoint equivalent
   workingDir: "/checklist" # Docker working_dir equivalent
</code></pre>
