diff --git a/Dockerfile b/Dockerfile index 94fe2c85..be25fe01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -# syntax = docker/dockerfile:1.4 +# syntax = docker/dockerfile:1.12 -FROM node:18.16-alpine AS base +FROM node:18.20-alpine AS base WORKDIR /base COPY --link package.json yarn.lock ./ RUN --mount=type=cache,target=/tmp/yarn_cache \ YARN_CACHE_FOLDER=/tmp/yarn_cache \ yarn install -FROM node:18.16-alpine +FROM node:18.20-alpine RUN apk add --no-cache tini WORKDIR /base COPY --link --from=base /base ./ diff --git a/Dockerfile-static b/Dockerfile-static index 9c3b673a..cca3518e 100644 --- a/Dockerfile-static +++ b/Dockerfile-static @@ -1,4 +1,4 @@ -FROM node:18.16-alpine AS base +FROM node:18.20-alpine AS base WORKDIR /base COPY package*.json ./ RUN npm install