Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Implement graceful shutdown of consumer
[nonrtric.git]
/
test
/
cr
/
Dockerfile
diff --git
a/test/cr/Dockerfile
b/test/cr/Dockerfile
index
d2e69cd
..
24c9033
100644
(file)
--- a/
test/cr/Dockerfile
+++ b/
test/cr/Dockerfile
@@
-15,14
+15,21
@@
# ============LICENSE_END=================================================
#
# ============LICENSE_END=================================================
#
-FROM python:3.8-slim-buster
+ARG NEXUS_PROXY_REPO
-WORKDIR /usr/src/app
+FROM ${NEXUS_PROXY_REPO}python:3.8-slim-buster
+
+#install nginx
+RUN apt-get update
+RUN apt-get install -y nginx=1.14.*
-COPY requirements.txt requirements.txt
+COPY app/ /usr/src/app/
+COPY cert/ /usr/src/app/cert/
+
+WORKDIR /usr/src/app
RUN pip install -r requirements.txt
RUN pip install -r requirements.txt
-COPY cr.py cr.py
+RUN chmod +x start.sh
-CMD [ "python3", "-u", "./cr.py" ]
\ No newline at end of file
+CMD [ "./start.sh" ]