17 lines
322 B
Docker
17 lines
322 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 -v 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"]
|