title: Is the docker ENTRYPOINT path in Dockerfile is different that the others?
body: <p>I am following this tutorial : <a href="https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/#postgres" rel="nofollow noreferrer">https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/#postgres</a> . But I have a problem when it come to definine an entrypoint in the Dockerfile. I used absolute path to point the entrypoint.sh path everywhere and it work except for the ENTRYPOINT of Dockerfile :</p>
  <pre><code># pull official base image
  FROM python:3.9.6-alpine
  
  # set work directory
  WORKDIR /mnt/c/Users/titou/Documents/OC/p10/code/pur_beurre
  
  # set environment variables
  ENV PYTHONDONTWRITEBYTECODE 1
  ENV PYTHONUNBUFFERED 1
  
  # install psycopg2 dependencies
  RUN apk update \
      &amp;&amp; apk add postgresql-dev gcc python3-dev musl-dev
  
  # install dependencies
  RUN pip install --upgrade pip
  COPY ./requirements.txt .
  RUN pip install -r requirements.txt
  
  # copy entrypoint.sh
  COPY ./entrypoint.sh .
  RUN sed -i 's/\r$//g' /mnt/c/Users/titou/Documents/OC/p10/code/pur_beurre/entrypoint.sh
  RUN chmod +x /mnt/c/Users/titou/Documents/OC/p10/code/pur_beurre/entrypoint.sh
  
  # copy project
  COPY . .
  
  # run entrypoint.sh
  ENTRYPOINT [&quot;/mnt/c/Users/titou/Documents/OC/p10/code/pur_beurre/entrypoint.sh&quot;]
  </code></pre>
  <p>I have this error :</p>
  <pre><code>Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: &quot;/mnt/c/Users/titou/Documents/OC/p10/code/pur_beurre/entrypoint.sh&quot;: stat /mnt/c/Users/titou/Documents/OC/p10/code/pur_beurre/entrypoint.sh: no such file or directory: unknown
  </code></pre>
  <p>Note : My os is Windows but my terminal is a WSL2 under Ubuntu. I got the path using pwd command.</p>