X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fotf.git;a=blobdiff_plain;f=o1-vth%2FDockerfile;fp=o1-vth%2FDockerfile;h=01ff38f0142cc2f08c4477bcb05f2b2359f77b05;hp=0000000000000000000000000000000000000000;hb=e3ba96506390ab3ad630d2dfc4967fd49527615d;hpb=c6475102d3d75ea00d5be548492eba544cf4f535 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"]