X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o1-vth%2FDockerfile;fp=o1-vth%2FDockerfile;h=01ff38f0142cc2f08c4477bcb05f2b2359f77b05;hb=b3c694ba6deb1efaf78af7d3dcb124edd8380afa;hp=0000000000000000000000000000000000000000;hpb=a2b6c9a176c35e30c55b6ce910f07b5732b75387;p=it%2Fotf.git diff --git a/o1-vth/Dockerfile b/o1-vth/Dockerfile new file mode 100644 index 0000000..01ff38f --- /dev/null +++ b/o1-vth/Dockerfile @@ -0,0 +1,27 @@ +# Copyright (c) 2019 AT&T Intellectual Property. # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +################################################################################ + +FROM python:3.7.4 + +RUN python --version + +ADD pip-requirements.txt pip-requirements.txt +ADD o1_vth.py o1_vth.py +ADD config.ini config.ini + +RUN mkdir -p /otf/logs + +RUN python -m pip install -r pip-requirements.txt +ENTRYPOINT ["python", "o1_vth.py"]