для работы с channels мне нужно запустить в проtкте Redis
мой Dockerfile
FROM python:3.9
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
WORKDIR /Users/Vitaliy/PycharmProjects/Funpay/Funpay
COPY . /Users/Vitaliy/PycharmProjects/Funpay/Funpay
EXPOSE 8000
RUN pip install django
RUN pip install pillow
RUN pip install channels
RUN pip install channels_redis
RUN pip install redis
RUN pip install websocket
CMD ["python", "manage.py", "migrate"]
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]