Changed node version

This commit is contained in:
2024-03-24 17:12:10 +01:00
parent 91e40dd4c7
commit c77e6f12b3
2 changed files with 2 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
FROM node-cache as cache 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 --from=cache /cache/node_modules /app/node_modules
COPY . /app COPY . /app
@@ -7,7 +7,6 @@ COPY . /app
WORKDIR /app WORKDIR /app
ENV NODE_PATH=dist/ ENV NODE_PATH=dist/
RUN corepack enable RUN corepack enable
RUN yarn global add typescript
RUN yarn build RUN yarn build
CMD [ "yarn", "start" ] CMD [ "yarn", "start" ]

View File

@@ -1,4 +1,4 @@
FROM node:20.9.0-alpine3.18 FROM node:21.7.1-alpine3.18
RUN mkdir /cache RUN mkdir /cache