Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Test updates for ECS, PMS and SDNC"
[nonrtric.git]
/
test
/
mrstub
/
Dockerfile
diff --git
a/test/mrstub/Dockerfile
b/test/mrstub/Dockerfile
index
07101ad
..
676c77c
100644
(file)
--- a/
test/mrstub/Dockerfile
+++ b/
test/mrstub/Dockerfile
@@
-15,23
+15,23
@@
# ============LICENSE_END=================================================
#
# ============LICENSE_END=================================================
#
-FROM python:3.8-slim-buster
+ARG NEXUS_PROXY_REPO
-COPY app/ /usr/src/app/
-COPY cert/ /usr/src/app/cert/
+FROM ${NEXUS_PROXY_REPO}python:3.8-slim-buster
-WORKDIR /usr/src/app/
-
-RUN chmod +x start.sh
+# Change order to fix problem with WSL
#install nginx
RUN apt-get update
RUN apt-get install -y nginx=1.14.*
#install nginx
RUN apt-get update
RUN apt-get install -y nginx=1.14.*
-#install curl
-RUN apt-get install -y curl
+COPY app/ /usr/src/app/
+COPY cert/ /usr/src/app/cert/
+
+WORKDIR /usr/src/app
-#start mrstub
RUN pip install -r requirements.txt
RUN pip install -r requirements.txt
+RUN chmod +x start.sh
+
CMD [ "./start.sh" ]
\ No newline at end of file
CMD [ "./start.sh" ]
\ No newline at end of file