2020-04-18 15:04:44 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
|
2021-11-25 20:21:59 +00:00
|
|
|
RUN apk add --no-cache python3 py3-pip py3-wheel git py3-lxml
|
2020-04-18 15:04:44 +00:00
|
|
|
|
2021-12-07 20:56:14 +00:00
|
|
|
# to solve issue with pip
|
|
|
|
RUN rm rm -rf /usr/bin/lsb_release
|
|
|
|
|
2020-04-19 11:25:53 +00:00
|
|
|
ADD . /app
|
2021-11-23 19:32:22 +00:00
|
|
|
RUN pip3 install --no-cache-dir /app[full]
|
2020-04-18 15:04:44 +00:00
|
|
|
|
2021-10-19 20:20:44 +00:00
|
|
|
USER 1000:1000
|
|
|
|
|
2021-11-21 20:57:06 +00:00
|
|
|
ENTRYPOINT ["/bin/sh", "/app/docker-entry.sh"]
|
|
|
|
CMD ["run"]
|