housekeeping

This commit is contained in:
waveringana 2022-12-02 13:59:50 +00:00
parent 462d388b15
commit eca5e3c841
31 changed files with 1259 additions and 1259 deletions

View file

@ -1,22 +0,0 @@
FROM node:16-alpine AS BUILD_IMAGE
RUN apk add curl bash
# Install dependencies
COPY package*.json ./
RUN npm install
RUN npm prune --production
RUN curl -sf https://gobinaries.com/tj/node-prune | sh
FROM node:16-alpine
COPY --from=BUILD_IMAGE /node_modules ./node_modules
COPY . .
ENV NODE_ENV=production
RUN node db.js
CMD ["npm", "start"]