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

Docker Compose Error: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount1524462744/Dockerfile: no such file or directory #27

Open
Snake883 opened this issue Mar 9, 2024 · 1 comment
Labels
incomplete Further information is needed

Comments

@Snake883
Copy link

Snake883 commented Mar 9, 2024

I'm trying to install/configure via docker compose.

When I run compose up, I get this error message:
failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount1524462744/Dockerfile: no such file or directory

This is my docker-compose.yml file:

version: "2.4"
services:

    db:
        image: mongo:6.0-jammy
        restart: unless-stopped
        mem_limit: 512m
        networks:
            - ytrv_net
        volumes:
            - ytrv_db:/data/db

    app:
        build: .
        image: graham-walker/youtube-dl-react-viewer:1.3.1
        restart: unless-stopped
        mem_limit: 512m
        networks:
            - ytrv_net
        ports:
            - "0.0.0.0:5000:5000/tcp"
        volumes:
            - /mnt/user/MyTube:/youtube-dl
        depends_on:
            - db
        environment:
            - SUPERUSER_USERNAME=admin
            - SUPERUSER_PASSWORD=admin
            - JWT_TOKEN_SECRET=<my secret)
            - SECURE_COOKIES=false
            - YOUTUBE_DL_UPDATE_COMMAND=python3 -m pip install --no-deps -U yt-dlp

volumes:
    ytrv_db:
    ytrv_downloads:

networks:
    default:
    ytrv_net:
        driver: "bridge"

@graham-walker
Copy link
Owner

Need some more information on how you are running docker compose up -d

Specifically, are you running the command from the same directory as the Dockerfile? Are docker-compose.yaml and the Dockerfile located in the same directory?

@graham-walker graham-walker added the incomplete Further information is needed label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incomplete Further information is needed
Projects
None yet
Development

No branches or pull requests

2 participants