Skip to content

data inside /var/www/html is getting override. #1

@nishit93-hub

Description

@nishit93-hub

Hi There,

I am creating my own docker image from image WordPress


FROM WordPress
COPY . /var/www/html

When I run the custom image on Kubernetes, whatever I copied data in the docker image gets overridden.
If logs it shows

WordPress not found in /var/www/html - copying now...
Complete! WordPress has been successfully copied to /var/www/html

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