aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
blob: a03ee33ff4759ad45dec7948763de5ffc1241a6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM redis:6.2.5-alpine3.14

ARG HTTP_PROXY=${HTTP_PROXY}
ARG HTTPS_PROXY=${HTTPS_PROXY}

ENV http_proxy $HTTP_PROXY
ENV https_proxy $HTTPS_PROXY

ADD . /service
WORKDIR /service

adduser -D onap
chown onap:onap -R /service

EXPOSE 6379

USER onap