Add k8s yml file for oru application
[nonrtric.git] / test / usecases / oruclosedlooprecovery / scriptversion / simulators / Dockerfile-message-generator
index 139b791..841cf7f 100644 (file)
@@ -22,6 +22,11 @@ COPY . /usr/src/app/
 
 WORKDIR /usr/src/app
 
+## install curl & ping to help debug
+RUN apt update
+RUN apt install curl -y
+RUN apt-get install iputils-ping -y
+
 RUN pip install -r requirements.txt
 
-CMD [ "python3", "message_generator.py" ]
+CMD [ "python3", "-u", "message_generator.py" ]