summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
blob: b76da98ae2fb12522c1c1a5e0e51a56e1226002f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.6-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_version=${PKG_VERSION}
ADD . /service
WORKDIR /service

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

EXPOSE 8806
USER onap
WORKDIR /service

ENTRYPOINT modeling/etsicatalog/docker/docker-entrypoint.sh