summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-01-09 16:15:27 +0530
committerGitHub2017-01-09 16:15:27 +0530
commit7fb288ffd992c912a8e2288aa97d6c6ceeedf1a1 (patch)
tree3afbf4d76e0d244bc71d0f43ace1ad2a40755e33 /Dockerfile
parentef6a61b1938ec399efb6d66b914f245afa3ed5ff (diff)
parent9fc46fc74e87a30f9dcaada88815a5ec8814d5fd (diff)
downloadonline_test-7fb288ffd992c912a8e2288aa97d6c6ceeedf1a1.tar.gz
online_test-7fb288ffd992c912a8e2288aa97d6c6ceeedf1a1.tar.bz2
online_test-7fb288ffd992c912a8e2288aa97d6c6ceeedf1a1.zip
Merge pull request #172 from adityacp/update_docs
Update docs and fix minor issues
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 9160e93..72a74f4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,10 +2,12 @@ FROM debian:8.2
MAINTAINER FOSSEE <pythonsupport@fossee.in>
# Update Packages and Install Python & net-tools
-RUN apt-get update && apt-get install -y python net-tools
+RUN apt-get update && apt-get install -y python net-tools python-pip && pip install tornado
# Copy the project folder from host into container
COPY ./yaksh /src/yaksh
+WORKDIR /src
+
# Run Yaksh code server
-CMD ["python", "/src/yaksh/code_server.py"]
+CMD ["python", "-m", "yaksh.code_server"]