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

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐