Dockerfile 243 B

123456789
  1. FROM node:latest
  2. LABEL description="A demo Dockerfile for build Docsify."
  3. RUN apt update
  4. RUN apt install cron nano git -y
  5. WORKDIR /rdoc
  6. RUN npm install -g docsify-cli@latest
  7. EXPOSE 3000/tcp
  8. COPY start.js /rdoc/start.js
  9. ENTRYPOINT node start.js