X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fmrstub%2FDockerfile;h=ac075bfd549ba92b8f50fdcdf6c712cb31a057a1;hb=8fbc63697f2edaaf2c9db40f54b318e7211361e2;hp=5219e74763bd8ca7fcf1f96a909f14ab8f1b56d7;hpb=5343c3097bd7ae1c1c8d5f0409803c0c60034805;p=nonrtric.git diff --git a/test/mrstub/Dockerfile b/test/mrstub/Dockerfile index 5219e747..ac075bfd 100644 --- a/test/mrstub/Dockerfile +++ b/test/mrstub/Dockerfile @@ -1,5 +1,5 @@ # ============LICENSE_START=============================================== -# Copyright (C) 2020 Nordix Foundation. All rights reserved. +# Copyright (C) 2021 Nordix Foundation. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -19,18 +19,19 @@ ARG NEXUS_PROXY_REPO FROM ${NEXUS_PROXY_REPO}python:3.8-slim-buster -COPY app/ /usr/src/app/ -COPY cert/ /usr/src/app/cert/ - -WORKDIR /usr/src/app/ - -RUN chmod +x start.sh +# Change order to fix problem with WSL #install nginx RUN apt-get update RUN apt-get install -y nginx=1.14.* -#start mrstub +COPY app/ /usr/src/app/ +COPY cert/ /usr/src/app/cert/ + +WORKDIR /usr/src/app + RUN pip install -r requirements.txt -CMD [ "./start.sh" ] \ No newline at end of file +RUN chmod +x start.sh + +CMD [ "./start.sh" ]