diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ccbe03..88ccbf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: 22.11.0 + node-version: 16.20.2 - name: Install yarn run: npm install --global yarn@1.22.19 - name: Install dependencies diff --git a/Dockerfile b/Dockerfile index 2ce753a..ad3e812 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,18 @@ -FROM node:22.11.0-alpine AS be +FROM node:16.20.2-alpine AS be ADD ./ /var/www/raiapi/ WORKDIR /var/www/raiapi RUN rm -rf src ENV NODE_ENV=production RUN yarn -FROM node:22.11.0-alpine AS fe +FROM node:16.20.2-alpine AS fe ADD ./ /var/www/raiapi/ WORKDIR /var/www/raiapi RUN yarn ENV NODE_ENV=production RUN yarn build -FROM node:22.11.0-alpine +FROM node:16.20.2-alpine LABEL org.opencontainers.image.authors="massi@massi.dev" WORKDIR /var/www/raiapi COPY --from=be /var/www/raiapi . diff --git a/package.json b/package.json index 87919b1..ac53944 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "engines": { - "node": "^22.11.0", + "node": "^16.20.2", "yarn": "^1.22.19" }, "name": "raiapi",