Dockerfile 616 B

1234567891011121314151617181920
  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_16.x | bash - && \
  4. apt-get install -y nodejs
  5. RUN apt-get update && apt-get install ca-certificates && \
  6. wget --no-check-certificate -qO - https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
  7. echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
  8. apt-get update && \
  9. apt-get install -y yarn
  10. RUN useradd -ms /bin/bash logseq
  11. USER logseq
  12. WORKDIR /home/logseq
  13. EXPOSE 3001
  14. EXPOSE 9630
  15. EXPOSE 8701