Docker-compose command 有多个命令例子

cat docker-compose.yml

version: '3.4'
services:
  klvchen:
    image: python_django:19.03.0
    ports:
      - 8000:8000
    command:
      - /bin/bash 
      - -c 
      - |
        cd /app01 
        python manage.py runserver 0.0.0.0:8000
    volumes:
      - /iba/app01:/app01

转载于:https://www.cnblogs.com/klvchen/p/10614837.html

你可能感兴趣的:(Docker-compose command 有多个命令例子)