diff --git a/Dockerfile.genreport b/Dockerfile.genreport index c39da47..57f4f45 100644 --- a/Dockerfile.genreport +++ b/Dockerfile.genreport @@ -8,15 +8,16 @@ RUN git clone https://72d861f982d2a76275d5b8178fe0633b19c43d33@dev.ilab.cl/TDTP/ RUN pip3 install --no-cache-dir -r /srv/reportgen/requirements.txt +WORKDIR /srv + ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache -RUN git clone https://72d861f982d2a76275d5b8178fe0633b19c43d33@dev.ilab.cl/TDTP/Reportes_gen /srv +RUN git pull RUN chown -R app:app /srv USER app -WORKDIR /srv ENTRYPOINT ["python3"]