diff options
author | Stone, Avi (as206k) <as206k@att.com> | 2018-04-12 16:41:45 +0300 |
---|---|---|
committer | Stone, Avi (as206k) <as206k@att.com> | 2018-04-12 16:41:45 +0300 |
commit | 879e94b78193798e8b170fca9b924d2c3881f7ba (patch) | |
tree | 150de697138a7593869eaae455add025b06a6e04 /docker/Dockerfile | |
parent | 7e02c7aaab14828ef8baaef98865f26d98e3b795 (diff) |
DCAE-D tosca-lab initial commit
DCAE-D tosca-lab initial commit
Change-Id: Ia42934ce7c75abe05fa106585c9334c8b048ee36
Issue-ID: SDC-1218
Signed-off-by: Stone, Avi (as206k) <as206k@att.com>
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..fbfa7df --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,20 @@ +FROM onap/dcae-tosca-base:1.0.4 + +RUN apk add --no-cache \ + curl \ + && : + +COPY ./app /srv/ + +COPY ./docker/docker-entrypoint.sh /srv/ + +COPY ./nginx/nginx.conf /etc/nginx/nginx.conf + +RUN chmod +x /srv/tosca_server.py && \ + chmod +x /srv/docker-entrypoint.sh + +RUN pip3 install -r /srv/requirements.txt + +EXPOSE 8085 + +ENTRYPOINT ["/srv/docker-entrypoint.sh", "/usr/local/bin/uwsgi", "--ini", "/srv/web/uwsgi.ini"] |