Skip to content

Commit

Permalink
fixup! Bump node version
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcanna committed Nov 11, 2024
1 parent f069789 commit ba9d24c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]
- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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="[email protected]"
WORKDIR /var/www/raiapi
COPY --from=be /var/www/raiapi .
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"engines": {
"node": "^22.11.0",
"node": "^16.20.2",
"yarn": "^1.22.19"
},
"name": "raiapi",
Expand Down

0 comments on commit ba9d24c

Please sign in to comment.