update dependencies, finally bump to node 18

This commit is contained in:
Michael C
2022-11-21 14:36:11 -05:00
parent 30ac91c537
commit fa5f3b8a50
3 changed files with 611 additions and 518 deletions

View File

@@ -1,10 +1,10 @@
FROM node:16-alpine as builder
FROM node:18-alpine as builder
RUN apk add --no-cache --virtual .build-deps python3 make g++
COPY package.json package-lock.json tsconfig.json entrypoint.sh ./
COPY src src
RUN npm ci && npm run tsc
FROM node:16-alpine as app
FROM node:18-alpine as app
WORKDIR /usr/src/app
RUN apk add --no-cache git postgresql-client
COPY --from=builder ./node_modules ./node_modules