Code Review
/
ric-app
/
ad.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[Issue-Id:RICAPP-155]Code changes to support for JJB and Unit testing for AD xApp
[ric-app/ad.git]
/
Dockerfile
diff --git
a/Dockerfile
b/Dockerfile
index
df9c2b8
..
e9660a0
100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-1,5
+1,4
@@
# ==================================================================================
# ==================================================================================
-# Copyright (c) 2019 AT&T Intellectual Property.
# Copyright (c) 2020 HCL Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Copyright (c) 2020 HCL Technologies Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@
-33,9
+32,13
@@
RUN conda install pandas
RUN conda install -c conda-forge/label/cf202003 hdbscan
RUN pip install schedule
RUN conda install scikit-learn
RUN conda install -c conda-forge/label/cf202003 hdbscan
RUN pip install schedule
RUN conda install scikit-learn
-#RUN pip install -U scikit-learn
+#
RUN pip install -U scikit-learn
-COPY ad/ /tmp/ad
+# Install
+COPY setup.py /tmp
+COPY LICENSE.txt /tmp/
+# RUN mkdir -p /tmp/ad/
+COPY ad/ /ad
+RUN pip install /tmp
ENV PYTHONUNBUFFERED 1
ENV PYTHONUNBUFFERED 1
-CMD python -W ignore /tmp/ad/main.py
-
+CMD PYTHONPATH=/ad:/usr/lib/python3.7/site-packages/:$PYTHONPATH run-ad.py