Commit 3086d3c4 authored by guillecxb's avatar guillecxb
Browse files

instructions for dokcerfile

parent 73eae4be
Loading
Loading
Loading
Loading
Loading
+11 −1
Original line number Original line Diff line number Diff line
@@ -15,4 +15,14 @@ RUN python -m pip install --upgrade pip
RUN pip install -r installation/requirements.txt
RUN pip install -r installation/requirements.txt
RUN pip install .
RUN pip install .


ENTRYPOINT ["tail", "-f", "/dev/null"]
# Ejecutar provider y luego invoker al iniciar el contenedor
ENTRYPOINT sh -c "\
  cd ci_cd_test/testing_samples/testing_provider_sample && \
  echo '🚀 Ejecutando provider...' && \
  python network_app_provider.py && \
  echo '✅ Provider finalizado.' && \
  cd ../testing_invoker_sample && \
  echo '🚀 Ejecutando invoker...' && \
  python network_app_invoker.py && \
  echo '✅ Invoker finalizado. Contenedor quedará activo.' && \
  tail -f /dev/null"
 No newline at end of file