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