nichobi / sponsorblockcast

A shell script that skips sponsored YouTube content on all local Chromecasts
GNU General Public License v3.0
348 stars 15 forks source link

Docker build fails with "ERROR: Cannot locate specified Dockerfile: Dockerfile" #12

Closed DetermineAbsurd closed 3 years ago

DetermineAbsurd commented 3 years ago

I had cURLed the docker-compose.yaml file from the repo and am able to pull, but not able to build. This is the error that I get when running the command docker-compose build.

nichobi commented 3 years ago

I'm not very familiar with docker, the support here was contributed by @Ceralor. Looks to me like you need the Dockerfile in the same directory too, and perhaps you would also need the other files from the repo. Try cloning the whole repo, instead of just the compose file.

9Mad-Max5 commented 3 years ago

The docker-compose needs always to be executed in the folder where the docker-compose.yml is located. The same is it with docker build commands.

Ceralor commented 3 years ago

Yep, as @9Mad-Max5 said. I can edit the section of the README.md to make this clearer.

DetermineAbsurd commented 3 years ago

Cloning the entire repo is what worked for me as the dockerfile itself from the repo is what it needed lol. Would recommend making that more explicit in the README so you don't have more people like me raising the same question haha.

claabs commented 3 years ago

The repo now has a prebuilt Docker image, so getting set up is much easier. See the updated docker-compose.yml for an example.

nichobi commented 3 years ago

Thanks, claabs! I'll close this issue for now.