ADD file:587cae71969871d3c6456d844a8795df9b64b12c710c275295a1182b46f630e7 in / |
CMD ["/bin/sh"] |
ENV CRONICLE_foreground=1 |
ENV CRONICLE_echo=1 |
ENV CRONICLE_color=1 |
ENV EDITOR=vi |
ENV MODE=manager |
RUN /bin/sh -c apk update && apk add bash tini git procps nodejs npm # buildkit |
RUN /bin/sh -c git clone https://github.com/cronicle-edge/cronicle-edge.git /opt/cronicle # buildkit |
WORKDIR /opt/cronicle |
RUN /bin/sh -c npm install # buildkit |
RUN /bin/sh -c node bin/build dist # buildkit |
COPY run.sh / # buildkit |
RUN /bin/sh -c chmod +x /run.sh # buildkit |
RUN /bin/sh -c mkdir /config # buildkit |
EXPOSE map[3012/tcp:{}] |
ENTRYPOINT ["/sbin/tini" "--"] |
CMD ["/run.sh"] |