morss/Dockerfile

17 lines
323 B
Docker

FROM alpine:latest
RUN apk add --no-cache python3 py3-pip py3-wheel git py3-lxml
# to solve issue with pip
RUN apk -vv add util-linux
RUN whereis lsb_release
#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"]