cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

Dockerfile (301B)


      1# syntax=docker/dockerfile:1
      2FROM node:21.6.1-bookworm
      3
      4RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
      5
      6WORKDIR /home/node/app
      7COPY --chown=node:node package*.json ./
      8COPY --chown=node:node src ./
      9
     10USER node
     11RUN npm install
     12
     13EXPOSE 3000
     14
     15CMD [ "nodejs", "src/main.js" ]