Skip to content

Commit 962f542

Browse files
authored
chore: correct nodejs version for rettiwt-api (#5)
1 parent 18e6374 commit 962f542

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install and Build
3131
uses: actions/setup-node@v3
3232
with:
33-
node-version: "22.x"
33+
node-version: "20.11.1"
3434

3535
- name: Install yarn
3636
run: |

.github/workflows/docker-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install and Build
3030
uses: actions/setup-node@v3
3131
with:
32-
node-version: "22.x"
32+
node-version: "20.11.1"
3333

3434
- name: Install yarn
3535
run: |

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:22-alpine as builder
1+
FROM node:20.18-alpine as builder
22

33
RUN apk add --update --no-cache curl git openssh openssl
44

@@ -18,7 +18,7 @@ ENV NODE_ENV ${NODE_ENV}
1818

1919
RUN ["yarn", "build"]
2020

21-
FROM node:22-alpine as prod-deps
21+
FROM node:20.18-alpine as prod-deps
2222

2323
USER node
2424
WORKDIR /home/node
@@ -35,7 +35,7 @@ ENV NODE_ENV ${NODE_ENV}
3535

3636
CMD [ "node", "dist/src/index" ]
3737

38-
FROM node:22-alpine as production
38+
FROM node:20.18-alpine as production
3939

4040
USER node
4141
WORKDIR /home/node

0 commit comments

Comments
 (0)