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 "Fixed broken unittest in policy agent"
[nonrtric.git]
/
test
/
cr
/
Dockerfile
diff --git
a/test/cr/Dockerfile
b/test/cr/Dockerfile
index
d2e69cd
..
bdc3521
100644
(file)
--- a/
test/cr/Dockerfile
+++ b/
test/cr/Dockerfile
@@
-17,12
+17,17
@@
FROM python:3.8-slim-buster
FROM python:3.8-slim-buster
-WORKDIR /usr/src/app
+COPY app/ /usr/src/app/
+COPY cert/ /usr/src/app/cert/
-COPY requirements.txt requirements.txt
+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
+
+#install nginx
+RUN apt-get update
+RUN apt-get install -y nginx=1.14.*
-CMD [ "python3", "-u", "./cr.py" ]
\ No newline at end of file
+CMD [ "./start.sh" ]