X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=near-rt-ric-simulator%2FDockerfile;h=8b089723b11c602cee5df0a080f60112ac764d05;hb=refs%2Fheads%2Fe-release;hp=4eaf9ed161ca179253b14338de69b412336f98ea;hpb=21be2e0c890fb9604d0add2942fcff19b6fe2fb2;p=sim%2Fa1-interface.git diff --git a/near-rt-ric-simulator/Dockerfile b/near-rt-ric-simulator/Dockerfile index 4eaf9ed..8b08972 100644 --- a/near-rt-ric-simulator/Dockerfile +++ b/near-rt-ric-simulator/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. @@ -17,12 +17,17 @@ FROM python:3.8-slim-buster -WORKDIR /usr/src/app - RUN pip install connexion[swagger-ui] -COPY src src +#install nginx and curl +RUN apt-get update && apt-get install -y nginx=1.14.* nginx-extras curl + +WORKDIR /usr/src/app COPY api api +COPY nginx.conf nginx.conf +COPY certificate /usr/src/app/cert +COPY src src +RUN chmod +x src/start.sh CMD src/start.sh ${A1_VERSION}