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
/
cr
/
Dockerfile
diff --git
a/test/cr/Dockerfile
b/test/cr/Dockerfile
index
bdc3521
..
24c9033
100644
(file)
--- a/
test/cr/Dockerfile
+++ b/
test/cr/Dockerfile
@@
-15,7
+15,13
@@
# ============LICENSE_END=================================================
#
# ============LICENSE_END=================================================
#
-FROM python:3.8-slim-buster
+ARG NEXUS_PROXY_REPO
+
+FROM ${NEXUS_PROXY_REPO}python:3.8-slim-buster
+
+#install nginx
+RUN apt-get update
+RUN apt-get install -y nginx=1.14.*
COPY app/ /usr/src/app/
COPY cert/ /usr/src/app/cert/
COPY app/ /usr/src/app/
COPY cert/ /usr/src/app/cert/
@@
-26,8
+32,4
@@
RUN pip install -r requirements.txt
RUN chmod +x start.sh
RUN chmod +x start.sh
-#install nginx
-RUN apt-get update
-RUN apt-get install -y nginx=1.14.*
-
CMD [ "./start.sh" ]
CMD [ "./start.sh" ]