Skip to content

Docker build fails to copy requirements.txt #36

@matiargs

Description

@matiargs

Hey, thanks for this toolkit.

I have found a bug when trying to build the docker image locally on step 11 of the Dockerfile.

Step 11/20 : COPY requirements.txt .
COPY failed: file not found in build context or excluded by .dockerignore: stat requirements.txt: file does not exist

I think the problem is that the .dockerignore file is ignoring all the files that end with .txt. I just remove that ignore and the build works great!

I can send a PR for that if you want.

EDIT: I'm using docker version: Docker version 29.1.3, build f52814d454

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions