morss/Dockerfile

17 lines
386 B
Docker
Raw Permalink Normal View History

FROM alpine:edge
2020-04-18 15:04:44 +00:00
2020-04-19 11:25:53 +00:00
ADD . /app
RUN set -ex; \
apk add --no-cache --virtual .run-deps python3 py3-lxml py3-setproctitle py3-setuptools; \
apk add --no-cache --virtual .build-deps py3-pip py3-wheel; \
pip3 install --no-cache-dir /app[full]; \
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"]
CMD ["run"]
2021-12-25 17:21:55 +00:00
HEALTHCHECK CMD /bin/sh /app/morss-helper check