The website for Horrific Development. https://horrific.dev/
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.
 
 
 
 
 
 

12 lines
256 B

  1. FROM node:12-alpine
  2. RUN apk add make
  3. RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
  4. WORKDIR /home/node/app
  5. COPY package*.json ./
  6. USER node
  7. RUN npm install
  8. COPY --chown=node:node . .
  9. EXPOSE 3000
  10. CMD [ "npm", "run", "start" ]