diff options
author | ankitjavalkar | 2017-11-01 17:43:45 +0530 |
---|---|---|
committer | ankitjavalkar | 2017-11-08 18:36:26 +0530 |
commit | d6759d3d1b4f7232dbca2025e67ff4f2812968c9 (patch) | |
tree | 019a427c5366305e31d9265ef24acb26b5beacd0 /Dockerfile | |
parent | 92cf26964ba486c166d730f0315b93d635e3f50c (diff) | |
download | online_test-d6759d3d1b4f7232dbca2025e67ff4f2812968c9.tar.gz online_test-d6759d3d1b4f7232dbca2025e67ff4f2812968c9.tar.bz2 online_test-d6759d3d1b4f7232dbca2025e67ff4f2812968c9.zip |
- Add a pyinvoke based script for running the django server and code server
- Modify the requirements to separate the requirements for code server
- Modify the docker file
- Add a script that runs within the docker instance
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -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 |