Deploy to docker with nginx, django, daphne
问题 I want to deploy my service to docker. and my service is developed using python+django and django-channels ── myproject ├── myproject │ ├── settings.py │ ├── urls.py │ ├── asgi.py │ ├── ... ├── collected_static │ ├── js │ ├── css │ ├── ... ├── nginx │ ├── Dockerfile │ ├── service.conf ├── requirements.txt ├── manage.py ├── Dockerfile └── docker-compose.yml myproject/Dockerfile : FROM python ENV PYTHONUNBURRERED 1 RUN mkdir -p /opt/myproject WORKDIR /opt/myproject ADD . /opt/myproject RUN pip