Skip to content

can't copy into var/www/html #146

@Amblomeke

Description

@Amblomeke

my minimalist example:

FROM wordpress:latest

COPY . /var/www/html

This fails to run. The build succeeds but when I actually go into bash and look, the files are not there. If I instead COPY to /usr/src/wordpress, then it succeeds, but the contents of /var/www/html remain the same, so I'm not anywhere closer to my goal, since I assume that I need my files to be in the latter folder.

Thanks for any help.

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