docker compose multiple command npm install code example
Example 1: docker-compose command multiple
command: >
bash -c "python manage.py migrate
&& python manage.py runserver 0.0.0.0:8000"
Example 2: docker-compose command multiple
command: bash -c "
python manage.py migrate
&& python manage.py runserver 0.0.0.0:8000
"