Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update docker-compose file and data scripts in nonrtric repo
[nonrtric.git]
/
test
/
mrstub
/
Dockerfile
diff --git
a/test/mrstub/Dockerfile
b/test/mrstub/Dockerfile
index
f1d16b7
..
5219e74
100644
(file)
--- a/
test/mrstub/Dockerfile
+++ b/
test/mrstub/Dockerfile
@@
-15,14
+15,22
@@
# ============LICENSE_END=================================================
#
# ============LICENSE_END=================================================
#
-FROM python:3.7
+ARG NEXUS_PROXY_REPO
-WORKDIR /usr/src/app
+FROM ${NEXUS_PROXY_REPO}python:3.8-slim-buster
-COPY requirements.txt requirements.txt
+COPY app/ /usr/src/app/
+COPY cert/ /usr/src/app/cert/
-RUN pip install -r requirements.txt
+WORKDIR /usr/src/app/
+
+RUN chmod +x start.sh
-COPY mr.py mr.py
+#install nginx
+RUN apt-get update
+RUN apt-get install -y nginx=1.14.*
+
+#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