Skip to content

Commit 711eca2

Browse files
committed
update retriever to node 24
1 parent 9721f66 commit 711eca2

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Dockerfile.retriever

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:22-alpine
1+
FROM node:24-alpine
22

33
# needed for downloading metadata, although we could replace with axios
44
# RUN apk add --no-cache curl
@@ -12,13 +12,13 @@ ENV NPM_CONFIG_LOGLEVEL warn
1212
COPY proto /usr/src/proto
1313
COPY svc/retriever.ts /usr/src/svc/retriever.ts
1414
COPY config.ts /usr/src/config.ts
15-
COPY index.ts /usr/src/index.ts
15+
#COPY index.ts /usr/src/index.ts
1616
COPY package.retriever.json /usr/src/package.json
1717
WORKDIR /usr/src
1818
RUN npm install
1919

2020
ENV PATH /usr/src/node_modules/.bin:$PATH
2121

22-
ENV ROLE retriever
22+
#ENV ROLE retriever
2323

2424
CMD ["npm", "start"]

package.retriever.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "26.0.0",
55
"license": "MIT",
66
"scripts": {
7-
"start": "tsx index"
7+
"start": "node svc/retriever.ts"
88
},
99
"repository": {
1010
"type": "git",
@@ -16,7 +16,6 @@
1616
"dotenv": "^16.4.7",
1717
"express": "^4.21.2",
1818
"protobufjs": "^7.2.5",
19-
"steam-user": "^5.2.0",
20-
"tsx": "^4.19.2"
19+
"steam-user": "^5.2.0"
2120
}
2221
}

0 commit comments

Comments
 (0)