I have Drupal running on EC2 with following dir structure
$ tree /var/www/cms -L 1
/var/www/cms
├── composer.json
├── composer.lock
├── config
├── docroot
├── drush
├── example.vhost.conf
├── README.md
└── vendor
This is with depth 2
$ tree /var/www/cms -L 2
/var/www/cms
├── composer.json
├── composer.lock
├── config
│ ├── development
│ └── sync
├── docroot
│ ├── autoload.php
│ ├── core
│ ├── favicon.ico
│ ├── index.php
│ ├── libraries
│ ├── modules
│ ├── profiles
│ ├── robots.txt
│ ├── sites
│ ├── themes
│ ├── update.php
│ └── web.config
├── drush
│ └── README.md
├── example.vhost.conf
├── README.md
└── vendor
├── alchemy
├── asm89
├── autoload.php
├── behat
├── bin
├── bower-asset
├── caxy
├── cebe
├── chi-teck
├── composer
├── consolidation
├── container-interop
├── cweagans
├── defuse
├── dflydev
├── dmore
├── dnoegel
├── doctrine
├── drupal
├── drupal-composer
├── drush
├── easyrdf
├── egulias
├── ezyang
├── fabpot
├── fileeye
├── grasmash
├── guzzlehttp
├── instaclick
├── j7mbo
├── jakub-onderka
├── jcalderonzumba
├── kub-at
├── lcobucci
├── league
├── lsolesen
├── masterminds
├── mikey179
├── mkalkbrenner
├── myclabs
├── nikic
├── paragonie
├── pear
├── phar-io
├── phenx
├── phpdocumentor
├── phpspec
├── phpunit
├── predis
├── psr
├── psy
├── ralouphie
├── se
├── sebastian
├── squizlabs
├── stack
├── stecman
├── swagger-api
├── symfony
├── symfony-cmf
├── textalk
├── theseer
├── twig
├── typo3
├── webflo
├── webmozart
├── weitzman
└── zendframework
But in docker container (drupal:8.9.6-apache) the directory structure is
# tree /opt/drupal -L 1
/opt/drupal
|-- composer.json
|-- composer.lock
|-- vendor
`-- web
with depth 2
# tree /opt/drupal -L 2
/opt/drupal
|-- composer.json
|-- composer.lock
|-- vendor
| |-- asm89
| |-- autoload.php
| |-- composer
| |-- doctrine
| |-- drupal
| |-- easyrdf
| |-- egulias
| |-- guzzlehttp
| |-- laminas
| |-- masterminds
| |-- paragonie
| |-- pear
| |-- psr
| |-- ralouphie
| |-- stack
| |-- symfony
| |-- symfony-cmf
| |-- twig
| `-- typo3
`-- web
|-- INSTALL.txt
|-- README.txt
|-- autoload.php
|-- core
|-- example.gitignore
|-- index.php
|-- modules
|-- profiles
|-- robots.txt
|-- sites
|-- themes
|-- update.php
`-- web.config
To move my existing application to docker dir structure how do I map my existing dir structure ?