summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile17
1 files changed, 9 insertions, 8 deletions
diff --git a/Dockerfile b/Dockerfile
index 72a74f4..5928369 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,14 @@
-FROM debian:8.2
+FROM ubuntu:16.04
MAINTAINER FOSSEE <pythonsupport@fossee.in>
# Update Packages and Install Python & net-tools
-RUN apt-get update && apt-get install -y python net-tools python-pip && pip install tornado
+RUN apt-get update && \
+apt-get install -y software-properties-common && \
+add-apt-repository ppa:webupd8team/java -y && \
+apt-get update && \
+apt-get install -y software-properties-common python net-tools git python3-pip vim libmysqlclient-dev scilab build-essential oracle-java8-installer && \
+mkdir /Sites
-# Copy the project folder from host into container
-COPY ./yaksh /src/yaksh
+VOLUME /src/online_test
-WORKDIR /src
-
-# Run Yaksh code server
-CMD ["python", "-m", "yaksh.code_server"]
+WORKDIR /src/online_test