diff --git a/Dockerfile b/Dockerfile index 4c6909f..76405a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:19.7.0-slim as builder +FROM node:20.2.0-slim as builder WORKDIR /app COPY ./package.json ./package-lock.json ./ @@ -13,7 +13,7 @@ RUN NODE_ENV=production npm run build -FROM node:19.7.0-slim as fetcher +FROM node:20.2.0-slim as fetcher WORKDIR /app COPY ./package.json ./package-lock.json ./ @@ -24,7 +24,7 @@ RUN npm ci -FROM node:19.7.0-slim +FROM node:20.2.0-slim WORKDIR /app COPY --from=fetcher /app/node_modules /app/node_modules diff --git a/Dockerfile.dev b/Dockerfile.dev index 4d927bb..6aec9d6 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM node:19.7.0-slim +FROM node:20.2.0-slim # This Dockerfile adds a non-root user with sudo access. Use the "remoteUser" # property in devcontainer.json to use it. On Linux, the container user's GID/UIDs # will be updated to match your local UID/GID (when using the dockerFile property).