Changed node version
This commit is contained in:
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user