Skip to content

babeuloula/docker-symfony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Symfony

Dockerfile with Symfony binary

How to use this image

docker run --rm -it \
    --name my_symfony_app \
    --user ${UID}:${GID} \
    -v "$(pwd)":/usr/src/myapp \
    -w /usr/src/myapp \
    babeuloula/symfony:latest \
    symfony new my_project

Or you can add an alias on your bashrc / zshrc:

alias symfony='docker run --rm -it --name symfony_docker --user ${UID}:${GID} -v "$(pwd)":/usr/src/myapp -w /usr/src/myapp babeuloula/symfony:latest symfony'
symfony new my_project
symfony --webapp my_project

About

Dockerfile with PHP7.4 and symfony binary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published