Added upport for trust store when agent acts as web client
[nonrtric.git] / test / mrstub / Dockerfile
index f1d16b7..9a15bc3 100644 (file)
 #  ============LICENSE_END=================================================
 #
 
-FROM python:3.7
+FROM python:3.8-slim-buster
 
-WORKDIR /usr/src/app
+COPY app/ /usr/src/app/
 
-COPY requirements.txt requirements.txt
+WORKDIR /usr/src/app/
 
-RUN pip install -r requirements.txt
+RUN chmod +x start.sh
+
+#install nginx
+RUN apt-get update
+RUN apt-get install -y nginx=1.14.*
 
-COPY mr.py mr.py
+#install curl
+RUN apt-get install -y curl
+
+#start mrstub
+RUN pip install -r requirements.txt
 
-CMD [ "python3", "-u", "./mr.py" ]
\ No newline at end of file
+CMD [ "./start.sh" ]
\ No newline at end of file