Skip to content

Composer script "docker:build" fails on Windows #743

Description

@frantisekhallo
'cp' is not recognized as an internal or external command,
operable program or batch file.
Script cp .env.dist .env handling the build:env event returned with error code 1
Script @build:env was called via docker:build

it is because normally the command cp is not available at Ms Windows operation system, i wonder if this should be somehow specially handled for different operating systems
but as a temporal workaround at windows, one has to have installed some linux tools, cli tools
or change the scripts->build:env to contain the copy command instead of the cp command

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions