FROM registry-app.eng.qops.net:5001/imported/alpine:3.9 MAINTAINER Engineering Visibility COPY webapp_requirements.txt / COPY run_webapp.sh / RUN apk add --no-cache python3 curl RUN apk add --no-cache --virtual .build-deps build-base python3-dev \ && pip3 install --no-cache-dir --upgrade pip \ && pip3 install --no-cache-dir --upgrade setuptools \ && pip3 install --no-cache-dir --upgrade -r /webapp_requirements.txt \ && apk del .build-deps \ && rm -rf /var/cache/apk/* CMD ["/run_webapp.sh"]