Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

pip install fails if requirements.txt includes "-r path/to/more/requirements.txt" #7

@lbjay

Description

@lbjay

The requirements.txt in my app root only contains the line:

-r requirements/foo.txt

So the 'django:onbuild' image doesn't work for me because the Dockerfile only copies the requirements.txt file before running pip install. Could it not be simplified to just:

ONBUILD COPY . /usr/src/app
ONBUILD RUN pip install -r requirements.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions