Skip to content

Commit

Permalink
feat: upgrade to Node.js 16 and add new-relic
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-gs committed Jan 17, 2024
1 parent d330844 commit 6f03fe9
Show file tree
Hide file tree
Showing 3 changed files with 1,547 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14
FROM node:16
LABEL author="internxt"

WORKDIR /drive-server
Expand All @@ -15,4 +15,4 @@ RUN yarn && yarn build && yarn --production && yarn cache clean
# RUN mkdir -p /mnt/prometheusvol{1,2}

# Start server
CMD node /drive-server/build/app.js
CMD node -r newrelic /drive-server/build/app.js
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"multer": "^1.4.4",
"multer-s3": "^2.10.0",
"nconf": "^0.11.1",
"newrelic": "^11.9.0",
"node-device-detector": "^1.4.1",
"openpgp": "^5.0.0",
"passport": "^0.4.1",
Expand Down
Loading

0 comments on commit 6f03fe9

Please sign in to comment.