Skip to content

Link Data into Container, instead copy it #5

@suther

Description

@suther

In your Dockerfile you use:

COPY var-www /var/www/
COPY apache /etc/apache2/

to copy the Files into your Dockerfile. Maybe it's better to use Volumes to link the Data of your Project-Dir to your Dockerfile: https://docs.docker.com/userguide/dockervolumes/

Using a Volume makes you able to access to the same Data from different Images at the same time.

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