summaryrefslogtreecommitdiff
path: root/docker/Dockerfile_codeserver
diff options
context:
space:
mode:
authorrohmhatre2017-11-26 00:25:02 +0530
committerankitjavalkar2018-01-04 11:37:20 +0530
commit0713c60a5ad4b71d4a2050d13cf30afaf37d935b (patch)
treec7cb207ab05a2197fd8bdd13d1d559345a2b29ef /docker/Dockerfile_codeserver
parent6f2e29a067cbeaf88b8ea478bb7c24fe8772180a (diff)
downloadonline_test-0713c60a5ad4b71d4a2050d13cf30afaf37d935b.tar.gz
online_test-0713c60a5ad4b71d4a2050d13cf30afaf37d935b.tar.bz2
online_test-0713c60a5ad4b71d4a2050d13cf30afaf37d935b.zip
Added docker compose configuration
Diffstat (limited to 'docker/Dockerfile_codeserver')
-rw-r--r--docker/Dockerfile_codeserver19
1 files changed, 19 insertions, 0 deletions
diff --git a/docker/Dockerfile_codeserver b/docker/Dockerfile_codeserver
new file mode 100644
index 0000000..1bc93c2
--- /dev/null
+++ b/docker/Dockerfile_codeserver
@@ -0,0 +1,19 @@
+FROM ubuntu:16.04
+
+MAINTAINER FOSSEE <pythonsupport@fossee.in>
+
+RUN apt-get update -y && apt-get install git python3-pip vim libmysqlclient-dev sudo -y
+
+VOLUME /Sites/online_test
+
+ADD Files/requirements-* /tmp/
+
+RUN pip3 install -r /tmp/requirements-codeserver.txt && mkdir -p /Sites/online_test/yaksh_data/output /Sites/online_test/yaksh_data/data
+
+WORKDIR /Sites/online_test/yaksh_data
+
+ADD Files/Start-codeserver.sh /Sites
+
+EXPOSE 53579
+
+CMD [ "/bin/bash" , "/Sites/Start-codeserver.sh" ]