title: docker-compose python: can't open file './main.py': [Errno 2] No such file or directory
body: <p>This is my Dockerfile:</p>
  
  <pre><code>FROM python:3.8-slim
  
  WORKDIR /proxy-scraper-checker-master
  
  RUN apt-get update &amp;&amp; \
      apt-get install -y --no-install-recommends libc-dev
  
  COPY requirements.txt requirements.txt
  RUN pip install -r requirements.txt
  
  COPY . /proxy-scraper-checker-master
  CMD [ "python", "main.py" ]
  </code></pre>
  
  <p>This is my docker-compose.yml:</p>
  
  <pre><code>version: "3.3"
  
  services:
      proxy-app:
          build:
              context: .
              dockerfile: Dockerfile
          container_name: proxy-app
  </code></pre>
  
  <p>This is structure of my project dir (from which I run my docker commands):</p>
  
  <pre><code>├── docker-compose.yml
  ├── Dockerfile
  ├── requirements.txt
  ├── proxy-scraper-checker-master
       └── main.py
  </code></pre>
  
  <p>When I run the following command in the above directory:</p>
  
  <blockquote>
    <p>docker-compose up</p>
  </blockquote>
  
  <p>I get the following error message:</p>
  
  <pre><code>C:\Projects\myprojects\docker-example&gt;docker-compose up
  Creating proxy-app ... done
  Attaching to proxy-app
  proxy-app    | python: can't open file './main.py': [Errno 2] No such file or directory
  proxy-app exited with code 2
  </code></pre>
  
  <p>Could someone guide me on what I am doing wrong?</p>