nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

Dockerfile (248B)


      1 FROM docker.io/node:18-alpine
      2 
      3 RUN apk update
      4 RUN apk add --no-cache git
      5 
      6 WORKDIR /app
      7 RUN git clone --depth 1 https://git.in0rdr.ch/myheats.git /app
      8 
      9 RUN npm ci
     10 
     11 ENV NODE_ENV production
     12 
     13 # run nodejs api/backend server
     14 CMD [ "npm", "run", "api" ]