diff options
author | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2021-11-30 08:25:09 +0000 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2021-12-03 09:58:59 +0000 |
commit | 66e44262b8eb996c06670dcededd899dd1cbd7dc (patch) | |
tree | 3fcea0fe3317f8069281cb93c61add4b1599ab83 /Dockerfile | |
parent | 2416a1a546c1d2922c37d513df42e9d26bbaaa42 (diff) |
Data provider release
Change-Id: Ia041a07152e8dabd87de05992d3670cbdc1ddaae
Issue-ID: INT-2010
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6f12536 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM python:3.9-slim AS builder + +COPY requirements.txt /opt/app/onap_data_provider/requirements.txt + +WORKDIR /opt/app/onap_data_provider/ + +RUN python -m pip install -r requirements.txt --prefix=/opt/install + +FROM nexus3.onap.org:10001/onap/integration-python:9.1.0 + +COPY --from=builder --chown=onap:onap /opt/install /usr/local + +COPY --chown=onap:onap . /opt/app/onap_data_provider + +WORKDIR /opt/app/onap_data_provider/ + +RUN python setup.py install + +CMD ["onap-data-provider"] |