summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2018-11-09 10:01:33 +0100
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2018-11-09 10:01:33 +0100
commit787c2e58e3923dbd0f90ac731518bf7889f7ca9d (patch)
tree4a16cdbf780776dfc3cf7ce5021455e20dfd9a2e
parentdd885a3a802ae4a736b72d0935e0a67353e12bae (diff)
Fix web server crash in Docker environment
The current web server fails on my machine when I run the Docker setup. I found out that this was a more common issue with a fix, so I've applied this fix to our setup. This was the crash: https://github.com/etingof/pyasn1/issues/108
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index ff9f6085..be28805a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,7 @@ RUN echo "deb http://ftp.debian.org/debian stretch main" >> /etc/apt/sources.lis
&& apt-get update \
&& apt-get install -y python python-pip yarn git sed mysql-client \
&& pip install oauth2client eventlet flask-socketio flask-compress mysql-connector-python-rf \
+ && pip install --upgrade pyasn1-modules \
&& rm -rf /var/lib/apt/lists/*
# Copy OpenDC directory