From 45621c4da22a674777e09977b29dad3a6757da53 2018-12-27 05:06:33 From: Juan C. Espinoza Date: 2018-12-27 05:06:33 Subject: [PATCH] Update readme & dockerfile --- diff --git a/Dockerfile b/Dockerfile index 7c27fc1..8545134 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:2.7-slim +FROM python:3.7-slim RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommends \ git \ @@ -10,7 +10,7 @@ RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommend libatlas-base-dev \ libssl-dev \ libhdf5-dev \ - && git clone --branch v2.3 --depth 1 \ + && git clone --branch v3.0-devel --depth 1 \ http://jro-dev.igp.gob.pe/rhodecode/schain \ && pip install numpy \ && cd schain \ diff --git a/README.md b/README.md index a04a8a8..2640d1f 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ $ docker build -t schain . You can run a container using an xml file or a schain script also you need to mount a volume for the data input and for the output files/plots ``` $ docker run -it --rm --volume /path/to/host/data:/data schain xml /data/test.xml -$ docker run -it --rm --volume /path/to/host/data:/data --entrypoint=/bin/python schain /data/test.py +$ docker run -it --rm --volume /path/to/host/data:/data --entrypoint /urs/local/bin/python schain /data/test.py ``` ## First Script