Personal blog written from scratch using Node.js, Bootstrap, and MySQL. https://jrtechs.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
432 B

  1. # jeffery russell 12-17-2020
  2. FROM node:buster-slim
  3. WORKDIR /src/
  4. # installs pandoc for markdown to html
  5. # need git so admin page can pull blog updates
  6. RUN apt-get update && \
  7. apt-get install sqlite3 -y && \
  8. apt-get install pandoc -y && \
  9. apt-get install git -y
  10. # installs node dependencies
  11. ADD package.json package.json
  12. RUN npm install
  13. # exposes port application runs on
  14. EXPOSE 8000
  15. # launch command
  16. CMD npm start