dunglas / dunglas/frankenphp-drupal

How to expose the source code inside the docker container to the host?

Open
#28 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
96
Forks
13
PR merge metrics
No merged PRs in 30d

Description

After following the instruction, I can access the web in localhost but I can't see the source code in the host machine. I can only access it inside the PHP docker container.

So how to expose the source code inside the docker container to the host? So I can edit it in development env?
![image](https://github.com/dunglas/frankenphp-drupal/assets/30259638/81ab9348-9929-40ed-8439-05832168b9ab)

Usually, I use the volume like this in PHP container `- .:/opt/drupal`, but it doesn't work in this case

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.