summaryrefslogtreecommitdiffstats
path: root/res/docker/Dockerfile
blob: b9f995eac31cacd3eeb3150514ad3d394301fec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:2-alpine

ARG HTTP_PROXY=${HTTP_PROXY}
ARG HTTPS_PROXY=${HTTPS_PROXY}
ARG PKG_VERSION
ENV http_proxy $HTTP_PROXY
ENV https_proxy $HTTPS_PROXY
ENV pkg_verison=${PKG_VERSION}

ADD . /service
WORKDIR /service

RUN sh /service/docker-env-conf.sh

EXPOSE 8802
USER onap
WORKDIR /service
ENTRYPOINT vfc/gvnfm/vnfres/res/docker/docker-entrypoint.sh