📜  docker compose exec compose - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:30.556000             🧑  作者: Mango

代码示例2
# -c flag indicates to read from string. Combine with &&
command: >
    bash -c "python manage.py makemigrations
    && python manage.py migrate
    && python manage.py runserver 0.0.0.0:8000"