2021-12-28 12:41:42 +00:00
|
|
|
FROM alpine:edge
|
2020-04-18 15:04:44 +00:00
|
|
|
|
2020-04-19 11:25:53 +00:00
|
|
|
ADD . /app
|
2021-12-11 17:28:35 +00:00
|
|
|
|
|
|
|
RUN set -ex; \
|
2021-12-12 21:11:38 +00:00
|
|
|
apk add --no-cache --virtual .run-deps python3 py3-lxml py3-setproctitle py3-setuptools; \
|
2021-12-11 17:28:35 +00:00
|
|
|
apk add --no-cache --virtual .build-deps py3-pip py3-wheel; \
|
|
|
|
pip3 install --no-cache-dir /app[full]; \
|
2021-12-12 18:38:39 +00:00
|
|
|
apk del .build-deps
|
2020-04-18 15:04:44 +00:00
|
|
|
|
2021-10-19 20:20:44 +00:00
|
|
|
USER 1000:1000
|
|
|
|
|
2021-12-25 17:21:55 +00:00
|
|
|
ENTRYPOINT ["/bin/sh", "/app/morss-helper"]
|
2021-11-21 20:57:06 +00:00
|
|
|
CMD ["run"]
|
2021-12-25 17:21:55 +00:00
|
|
|
|
2021-12-28 14:01:04 +00:00
|
|
|
HEALTHCHECK /bin/sh /app/morss-helper check
|