Opinionated docker image for Magento 2.2+.
- Alpine 3.8
- nginx
- PHP 7.4 with FPM
- Redis
- MySQL client
- msmtp, aliased as sendmail
- Node.js
- runit
- sassc
- dockerize
# Build image
docker build -t furseyev/magento2 .
# Test image, visit http://magento2.local/
cd /path/to/magento2/project
docker run --init --rm -p 80:80 -v $(pwd):/var/www/magento2 furseyev/magento2