Dockerfile 532 B

12345678910111213141516171819
  1. # NOTE: please keep it in sync with .github pipelines
  2. FROM clojure:openjdk-11-tools-deps-1.10.1.727
  3. RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - && \
  4. apt-get install -y nodejs
  5. RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
  6. echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
  7. apt-get update && \
  8. apt-get install -y yarn
  9. RUN useradd -ms /bin/bash logseq
  10. USER logseq
  11. WORKDIR /home/logseq
  12. EXPOSE 3001
  13. EXPOSE 9630
  14. EXPOSE 8701