Dockerfile 610 B

12345678910111213141516171819202122232425
  1. FROM node:22-bookworm
  2. # Set environment variables for non-interactive installation
  3. ENV DEBIAN_FRONTEND=noninteractive
  4. # Install tzdata package for timezone configuration
  5. RUN apt-get update && \
  6. apt-get install -y tzdata && \
  7. ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime && \
  8. dpkg-reconfigure --frontend noninteractive tzdata && \
  9. apt-get clean
  10. RUN apt update -qq && \
  11. apt install -qq -y wget2 aria2 && \
  12. apt clean
  13. ADD . /home/node/kisybi
  14. WORKDIR /home/node/kisybi
  15. RUN yarn
  16. VOLUME [ "/home/node/kisybi/config.json", "home/node/kisybi/tmp/done" ]
  17. CMD ["yarn", "server"]