My first docker experiment.
- You need to have docker (and docker-compose) installed.
- clone this repo
- use the composer container as a utility to generate a symfony project as in the official symfony docs. Omit the version if you want the latest symfony version:
docker-compose run --rm composer create-project symfony/skeleton:"^5.4" .
This will create the minified symfony project in the "symfony" folder without any extensions or expansions from the flex network 4. run the php-enabled abache server:
docker-compose up -d --build server
- go to localhost:8000 to open your browser. You should see the symfony startpage. Done :)
You can configure the dockerfiles in the "dockerfiles" folder. There you can also change the standard-port of 8000 to something else.
MIT