Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
longdog committed Jan 9, 2025
1 parent 422d320 commit cf4ae5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.12.0]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM keymetrics/pm2:18-slim
FROM node:18.12.0
ENV NODE_ENV=production \
NPM_CONFIG_LOGLEVEL=warn
RUN apt-get -qq update && apt-get -qq -y upgrade
Expand All @@ -9,4 +9,4 @@ COPY ./package.json ./yarn.lock ./
RUN yarn config set network-timeout 600000 -g
RUN yarn
COPY . .
CMD ["pm2-runtime", "process.json"]
CMD ["node", "-r", "dotenv/config", "index.js"]

0 comments on commit cf4ae5e

Please sign in to comment.