summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 94aac35a..32b790c5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,15 +5,15 @@ MAINTAINER Sacheendra Talluri <sacheendra.t@gmail.com>
RUN echo "deb http://ftp.debian.org/debian stretch main" >> /etc/apt/sources.list \
&& 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 flask-cors \
- && pip install --upgrade pyasn1-modules \
&& rm -rf /var/lib/apt/lists/*
# Copy OpenDC directory
COPY ./ /opendc
# Setting up simulator
-RUN chmod 555 /opendc/build/configure.sh \
+RUN pip install -e /opendc/opendc-web-server \
+ && python /opendc/opendc-web-server/setup.py install \
+ && chmod 555 /opendc/build/configure.sh \
&& cd /opendc/opendc-frontend \
&& rm -rf ./build \
&& rm -rf ./node_modules \