ifiguero 2024-03-25 23:40:27 -03:00
parent d84a0fc60e
commit ae7f915097
1 changed files with 3 additions and 2 deletions

View File

@ -8,15 +8,16 @@ RUN git clone https://72d861f982d2a76275d5b8178fe0633b19c43d33@dev.ilab.cl/TDTP/
RUN pip3 install --no-cache-dir -r /srv/reportgen/requirements.txt 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 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 RUN chown -R app:app /srv
USER app USER app
WORKDIR /srv
ENTRYPOINT ["python3"] ENTRYPOINT ["python3"]