diff options
author | Prabhu Ramachandran | 2018-01-05 15:47:05 +0530 |
---|---|---|
committer | GitHub | 2018-01-05 15:47:05 +0530 |
commit | 65ce10a9057d30e6a7e9a37926abdef97e5fdc48 (patch) | |
tree | 8cf8c7ef08b63b68013dce99faf14223c2f73764 /docker/Dockerfile_codeserver | |
parent | feb295b4107a95621e9430f5c7042cfde4674cc0 (diff) | |
parent | bbf844c6ebf9b29c436930b5d5129ebf77a3aad1 (diff) | |
download | online_test-65ce10a9057d30e6a7e9a37926abdef97e5fdc48.tar.gz online_test-65ce10a9057d30e6a7e9a37926abdef97e5fdc48.tar.bz2 online_test-65ce10a9057d30e6a7e9a37926abdef97e5fdc48.zip |
Merge pull request #404 from ankitjavalkar/add-docker-compose-test
Add docker compose deployment
Diffstat (limited to 'docker/Dockerfile_codeserver')
-rw-r--r-- | docker/Dockerfile_codeserver | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docker/Dockerfile_codeserver b/docker/Dockerfile_codeserver new file mode 100644 index 0000000..1f030d5 --- /dev/null +++ b/docker/Dockerfile_codeserver @@ -0,0 +1,20 @@ +FROM ubuntu:16.04 + +MAINTAINER FOSSEE <pythonsupport@fossee.in> + +RUN apt-get update && \ +apt-get install git python3-pip libmysqlclient-dev sudo default-jre default-jdk -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 + +ADD Files/Start-codeserver.sh /Sites + +EXPOSE 53579 + +CMD [ "/bin/bash" , "/Sites/Start-codeserver.sh" ] |