Skip to content

Commit

Permalink
chore: use node 18.19
Browse files Browse the repository at this point in the history
  • Loading branch information
bytemain committed Sep 19, 2024
1 parent 6734e3b commit 42f228d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions Dockerfile.generated
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM node:18.19 as build

ENV PORT=8080
WORKDIR /src

# Check if we have 'corepack' available; if none, we
# install [email protected].
RUN which corepack || npm install -g --force [email protected]
RUN corepack enable

COPY . .
RUN yarn install

COPY . .

# Build if we can build it
RUN yarn build:node

EXPOSE 8080
CMD node dist/node/index.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"repository": "https://github.com/opensumi/github-bot.git",
"license": "MIT",
"engines": {
"node": ">=18.19.0"
"node": "18.19.0"
},
"workspaces": [
"libs/*"
Expand Down

0 comments on commit 42f228d

Please sign in to comment.