From 591c7f3c91d260a9a0ef12385c62be3b63577e44 Mon Sep 17 00:00:00 2001 From: Sumanth Kesireddy Date: Thu, 20 Sep 2018 17:49:41 +0530 Subject: [PATCH] Added dockerfile --- Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9e9651951..ec66e0eb7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,13 +13,9 @@ RUN apt-get update # Usage: Installing dependencies for computer graphics lab RUN apt-get install -y make php5 apache2 rsync gcc g++ libapache2-mod-python libapache2-mod-wsgi -RUN sed -i '/<\/VirtualHost>/i \ - \ - AddHandler mod_python .py \ - PythonHandler mod_python.publisher \ - PythonDebug On \ - \ -' /etc/apache2/sites-available/default +COPY scripts/configure.sh . +RUN chmod 777 ./configure.sh +RUN sh configure.sh RUN mkdir /problem-solving-iiith