summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
blob: fbfa7df1f2764709af614f4836badd92d6be6d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"]