diff --git a/Dockerfile b/Dockerfile index fb29458..2ab19f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM node-cache as cache -FROM node:20.9.0-alpine3.18 +FROM node:21.7.1-alpine3.18 COPY --from=cache /cache/node_modules /app/node_modules COPY . /app @@ -7,7 +7,6 @@ COPY . /app WORKDIR /app ENV NODE_PATH=dist/ RUN corepack enable -RUN yarn global add typescript RUN yarn build CMD [ "yarn", "start" ] diff --git a/Dockerfile.cache b/Dockerfile.cache index d86ac96..ace8495 100644 --- a/Dockerfile.cache +++ b/Dockerfile.cache @@ -1,4 +1,4 @@ -FROM node:20.9.0-alpine3.18 +FROM node:21.7.1-alpine3.18 RUN mkdir /cache