X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=mod%2Fdistributorapi%2FDockerfile;h=29fbfb33ce1dc23e947991b697ff928337b1ba58;hb=d87dee3a5792b3528596abd068649a7205a1a355;hp=cc10c68c95efd2f06ee14fe6a911d7d3219b86ed;hpb=77900bb3097491cd9fca964c111ea70724e53989;p=dcaegen2%2Fplatform.git diff --git a/mod/distributorapi/Dockerfile b/mod/distributorapi/Dockerfile index cc10c68..29fbfb3 100644 --- a/mod/distributorapi/Dockerfile +++ b/mod/distributorapi/Dockerfile @@ -1,5 +1,6 @@ # ============LICENSE_START======================================================= -# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2019,2022 AT&T Intellectual Property. All rights reserved. +# Copyright 2020 Deutsche Telekom. 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. @@ -13,11 +14,11 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============LICENSE_END========================================================= -FROM python:3.7-alpine +FROM nexus3.onap.org:10001/onap/integration-python:9.1.0 -COPY . /code -WORKDIR /code +COPY --chown=onap:onap . /app RUN pip install . -EXPOSE 80 +EXPOSE 8080 ENV DISTRIBUTOR_DEBUG=0 +ENV PATH="$PATH:/home/onap/.local/bin" CMD start-distributor-api