Horje
insert bash command to docker-compose file Code Example
insert bash command to docker-compose file
# -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"




Shell

Related
how to backup db mysql from cli Code Example how to backup db mysql from cli Code Example
docker run Code Example docker run Code Example
merge branch from another repo Code Example merge branch from another repo Code Example
npm list commands Code Example npm list commands Code Example
linux calculator Code Example linux calculator Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10