N
N
Nikita2022-03-21 15:38:43
symfony
Nikita, 2022-03-21 15:38:43

Developing a symfony project in Docker?

To develop the project, I wanted to use the ready-made symfony configuration https://github.com/dunglas/symfony-docker
But I don’t understand how to properly develop with it, because here the framework code is not mounted externally.
In theory, WORKDIR (/srv/app) should be mounted via volumes?

UPD
volumes are in docker-compose.override.yml, for some reason the files were not mounted on the first run.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2022-03-21
@somebug

I'm not familiar with symfony and I'm not a PHP developer, but why would you want to develop a project inside docker?
Develop the project separately, then when it's ready, add the necessary configuration to deploy the application to the docker container.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question