Skip to content

Commit

Permalink
update substreams-sink
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Nov 25, 2023
1 parent a38fdaa commit 773f778
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 18 deletions.
12 changes: 9 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
FROM oven/bun
FROM node:alpine

EXPOSE 9102

COPY package*.json ./
RUN npm ci
COPY . .
RUN bun install
ENTRYPOINT [ "bun", "./bin/cli.ts", "run" ]
RUN npm run build

ENTRYPOINT ["npm", "start"]
49 changes: 37 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "substreams-sink-victoria-metrics",
"version": "0.0.15",
"version": "0.0.16",
"description": "Substreams VictoriaMetrics sink module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -36,17 +36,18 @@
"license": "MIT OR Apache-2.0",
"scripts": {
"prepublishOnly": "tsc",
"start": "tsc && node ./dist/bin/cli.js run",
"build": "bun build --compile ./index.ts --outfile substreams-sink-victoria-metrics",
"pretest": "bunx tsc --noEmit",
"test": "bun test"
},
"dependencies": {
"@substreams/core": "^0.7.0",
"glob": "latest",
"substreams-sink": "^0.13.0"
"substreams-sink": "^0.13.3"
},
"devDependencies": {
"bun-types": "latest",
"typescript": "latest"
}
}
}

0 comments on commit 773f778

Please sign in to comment.