summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authoradityacp2017-01-10 14:43:52 +0530
committeradityacp2017-01-10 14:43:52 +0530
commit05b8d1f19bc566e28f2b9bc232389c65f6e4b9bf (patch)
tree896aa651644179a69c0ae1e6c2aaf5053e8be481 /Dockerfile
parentd924a36d5c0bfec383d5a07811ca197705fafe1b (diff)
parent7fb288ffd992c912a8e2288aa97d6c6ceeedf1a1 (diff)
downloadonline_test-05b8d1f19bc566e28f2b9bc232389c65f6e4b9bf.tar.gz
online_test-05b8d1f19bc566e28f2b9bc232389c65f6e4b9bf.tar.bz2
online_test-05b8d1f19bc566e28f2b9bc232389c65f6e4b9bf.zip
Merge https://github.com/fossee/online_test into fix_management_commands
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"]