summaryrefslogtreecommitdiffstats
path: root/huawei/vnfmadapter/VnfmadapterService/docker/Dockerfile
blob: 7f0fb6eb8defd2708a79417fc859b699a99a67f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#VFC-1837/VFC-1842 need to validate
FROM python:3.9-alpine

ARG HTTP_PROXY=${HTTP_PROXY}
ARG HTTPS_PROXY=${HTTPS_PROXY}
ENV JAVA_HOME /usr/lib/jvm/jre
ENV CATALINA_HOME /service
ENV http_proxy $HTTP_PROXY
ENV https_proxy $HTTPS_PROXY
ENV pkg_verison=${PKG_VERSION}

ADD . /service
WORKDIR /service

RUN bash docker-env-config.sh
VOLUME /var/lib/mysql


EXPOSE 8482
USER onap
ENTRYPOINT /service/docker-entrypoint.sh