diff --git a/testproject/Dockerfile b/testproject/Dockerfile index 354fcb7..1381225 100644 --- a/testproject/Dockerfile +++ b/testproject/Dockerfile @@ -10,10 +10,17 @@ RUN apt-get update && \ python-pip && \ pip install -U pip -RUN pip install channels==0.9.5 asgi_redis==0.8.3 +# Install asgi_redis driver and most recent Daphne +RUN pip install \ + asgi_redis==0.8.3 \ + git+https://github.com/andrewgodwin/daphne.git@#egg=daphne -RUN git clone https://github.com/andrewgodwin/channels.git /srv/application/ +# Clone Channels and install it +RUN git clone https://github.com/andrewgodwin/channels.git /srv/channels/ && \ + cd /srv/channels && \ + git reset --hard caa589ae708a1a66ba1bdcd24f5fd473040772bd && \ + python setup.py install -WORKDIR /srv/application/testproject/ +WORKDIR /srv/channels/testproject/ EXPOSE 80