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.
 
 

23 lines
397 B

# jeffery russell 12-17-2020
FROM node:buster-slim
WORKDIR /src/
# installs node dependencies
ADD package.json package.json
RUN npm install
# installs pandoc for markdown to html
# need git so admin page can pull blog updates
RUN apt-get update && \
apt-get install pandoc -y && \
apt-get install git -y
# exposes port application runs on
EXPOSE 8000
# launch command
CMD npm start