blob: 726f0a558ed8a1f61b51f38afd6bd491ab59d542 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
FROM python:3.11.4-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 --no-build-isolation
FROM nexus3.onap.org:10001/onap/integration-python:12.0.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"]
|