X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=e9660a0e9ad7f9bd4feee44b6ce7baf7e3a849b2;hb=588acf17f5f14399b2bad62bda8106fef7dac063;hp=df9c2b85cffbdfc87fcd7ce151cf654bea5250aa;hpb=d3dff387ed728a6a74a236eb9b65d59d4929714a;p=ric-app%2Fad.git diff --git a/Dockerfile b/Dockerfile index df9c2b8..e9660a0 100644 --- 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"); @@ -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 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 -CMD python -W ignore /tmp/ad/main.py - +CMD PYTHONPATH=/ad:/usr/lib/python3.7/site-packages/:$PYTHONPATH run-ad.py