FROM alpine:latest RUN apk add --no-cache python3 py3-pip py3-wheel git py3-lxml # to solve issue with pip RUN rm rm -rf /usr/bin/lsb_release ADD . /app RUN pip3 install --no-cache-dir /app[full] USER 1000:1000 ENTRYPOINT ["/bin/sh", "/app/docker-entry.sh"] CMD ["run"]