Skip to content

Commit 2650212

Browse files
committed
fix start
1 parent 711eca2 commit 2650212

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Dockerfile.retriever

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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: 3 additions & 2 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": "node svc/retriever.ts"
7+
"start": "tsx index"
88
},
99
"repository": {
1010
"type": "git",
@@ -16,6 +16,7 @@
1616
"dotenv": "^16.4.7",
1717
"express": "^4.21.2",
1818
"protobufjs": "^7.2.5",
19-
"steam-user": "^5.2.0"
19+
"steam-user": "^5.2.0",
20+
"tsx": "^4.19.2"
2021
}
2122
}

0 commit comments

Comments
 (0)