Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using docker-compose yields 'ERROR: Cannot locate specified Dockerfile: Dockerfile' #47

Closed
zzyzx-dc opened this issue Dec 10, 2020 · 3 comments

Comments

@zzyzx-dc
Copy link

Sorry if I'm making a rookie mistake. I'm using the following docker-compose.yml:

version: '3'
services:
filebot:
image: jlesage/filebot
build: .
ports:
- "5800:5800"
environment:
- USER_ID=1000
- GROUP_ID=1000
volumes:
- "/docker/appdata/filebot:/config:rw"
- "$HOME:/storage:rw"
- "/mnt/usb:/usb:rw"

I tried to specify the Dockerfile but that did not work.

@jlesage
Copy link
Owner

jlesage commented Dec 20, 2020

I guess you compose file is properly indented ? Which commands are you using ? It should be something like:

docker-compose pull
docker-compose up

@justpeterpan
Copy link

Late reply but deleting the line 'build: .' from your docker-compose.yml will fix this.

@jlesage
Copy link
Owner

jlesage commented Jan 7, 2023

Closing this issue. Please re-open if needed.

@jlesage jlesage closed this as completed Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants