Skip to content

Commit

Permalink
Update to node-22
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Sep 26, 2024
1 parent 0bb13cb commit 5219e7b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:22-alpine

RUN apk add --no-cache bash tini

Expand Down
3 changes: 1 addition & 2 deletions bin/www
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/

var app = require('../app');
var debug = require('debug')('cdn-app:server');
var http = require('http');

/**
Expand Down Expand Up @@ -86,5 +85,5 @@ function onListening() {
var bind = typeof addr === 'string'
? 'pipe ' + addr
: 'port ' + addr.port;
debug('Listening on ' + bind);
console.log('Listening on ' + bind);
}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
},
"dependencies": {
"cors": "^2.8.5",
"debug": "~4.3.5",
"express": "^4.19.2",
"express": "^4.21.0",
"gunzip-maybe": "^1.4.2",
"http-errors": "^2.0.0",
"mongodb": "^6.8.0",
"mongodb": "^6.9.0",
"morgan": "~1.10.0",
"tar-stream": "^3.1.7"
}
Expand Down

0 comments on commit 5219e7b

Please sign in to comment.