I am new to docker and i already checked the posts on stackoverflow but i cant resolve my issue:
my file dir:
Directory of C:UsersHPDesktopnocom2
05/15/2024 12:06 PM <DIR> .
05/15/2024 12:06 PM <DIR> ..
07/25/2022 05:57 AM 5,320 ad_bot.py
07/25/2022 05:57 AM 68 ad_site.Dockerfile
07/25/2022 05:57 AM 1,089 docker-compose.yml
07/25/2022 05:57 AM 1,176 dockerfile.Dockerfile
07/25/2022 05:57 AM 144 index.html
07/25/2022 05:57 AM <DIR> Myst
07/25/2022 05:57 AM 1,790 README.md
07/25/2022 05:57 AM 1,184 requirements.txt
07/25/2022 05:57 AM <DIR> venv
7 File(s) 10,771 bytes
4 Dir(s) 10,078,896,128 bytes free
This is the project from github and in readme.txt it says to run this command:
Docker build -t ad_bot .
When i try i get this error:
[+] Building 0.0s (0/0) docker:default
2024/05/15 12:12:25 http2: server: error reading preface from client //./pipe/docker_engine: file has already been close[+] Building 0.1s (1/1) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2B 0.0s
ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
I am already in right directory. Should i change name of dockerfile?