cscg24-guacamole

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

Dockerfile (421B)


      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/ src/
      9COPY --chown=node:node public public/
     10COPY --chown=node:node entrypoint.sh entrypoint.sh
     11
     12RUN npm install -g serve
     13
     14USER node
     15RUN npm install
     16
     17EXPOSE 3000
     18
     19ENTRYPOINT ["sh", "entrypoint.sh"]