diff --git a/Dockerfile b/Dockerfile index d22ef802..184485ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as builder +FROM node:22.23.5-alpine as builder WORKDIR /worker/ @@ -13,7 +13,7 @@ COPY ./scripts ./scripts RUN yarn run prepack -FROM node:18-alpine as clean +FROM node:22.23.5-alpine as clean COPY package.json yarn.lock /worker/ @@ -21,7 +21,7 @@ COPY *.md /worker/ COPY --from=builder /worker/dist/ /worker/dist/ COPY --from=builder /worker/sql/ /worker/sql/ -FROM node:18-alpine +FROM node:22.23.5-alpine LABEL description="High performance Node.js/PostgreSQL job queue " WORKDIR /worker/ diff --git a/Dockerfile.dev b/Dockerfile.dev index 79291f1e..8af802d0 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM node:18-alpine +FROM node:22.23.5-alpine RUN apk add --no-cache bash RUN apk add --no-cache postgresql-client