X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=e7214c5438329aef650687ac7fd9ef6bd17a701d;hb=a1cb1abac5f5979f507b6760f0862c38c3ba2347;hp=402fab7a747b810c91ee1fd4cd9d2fdf470567eb;hpb=cd32fb9b8f63431086809c542b6dab26c8ea09b1;p=ric-app%2Fqp.git diff --git a/Dockerfile b/Dockerfile index 402fab7..e7214c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # ================================================================================== -FROM python:3.8-alpine - +FROM frolvlad/alpine-miniconda3 +#FROM python:3.7-alpine # RMR setup RUN mkdir -p /opt/route/ # copy rmr files from builder image in lieu of an Alpine package @@ -25,15 +25,16 @@ ENV LD_LIBRARY_PATH /usr/local/lib/:/usr/local/lib64 COPY tests/fixtures/local.rt /opt/route/local.rt ENV RMR_SEED_RT /opt/route/local.rt + # sdl needs gcc RUN apk update && apk add gcc musl-dev # Install COPY setup.py /tmp COPY LICENSE.txt /tmp/ -COPY qp/ /tmp/qp +COPY qp/ /qp RUN pip install /tmp # Run ENV PYTHONUNBUFFERED 1 -CMD run-qp.py +CMD PYTHONPATH=/qp:/usr/lib/python3.7/site-packages/:$PYTHONPATH run-qp.py