FROM node as base

ENV DEBIAN_FRONTEND noninteractive

RUN \
  apt-get update -yy && \
  apt-get install \
  tini zsh less tree \
  -yy
RUN chsh -s /usr/bin/zsh
WORKDIR /app/deps/greasyfork

ENTRYPOINT ["tini", "--"]
CMD ["bash", "/app/docker/js/init.sh"]
# CMD ["sleep", "999999999999999999"]
