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
397 B

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