Skip to content

Commit

Permalink
🐛 Correct ponder docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Nov 21, 2024
1 parent cc49cad commit 9a490ba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 5 additions & 1 deletion packages/ponder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Base stage
FROM --platform=$BUILDPLATFORM oven/bun AS base
FROM --platform=$BUILDPLATFORM node:lts-slim AS base

# Setup bun (since we are on a node image)
RUN npm i -g bun

WORKDIR /usr/src/app

# Bun package installation
Expand Down
4 changes: 1 addition & 3 deletions packages/ponder/config/configBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,7 @@ function getTransport(chainId: number) {
),
http(
`${erpcExternalUrl}/${chainId}?token=${process.env.PONDER_RPC_SECRET}`
),
// And envio client directly
http(`https://${chainId}.rpc.hypersync.xyz`),
)
]);

// Return the base client wrapper in a cooldown one, aiming to slow down real time indexing on arbitrum / arbitrum sepolia
Expand Down
1 change: 0 additions & 1 deletion packages/ponder/ponder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { createEnvConfig } from "./config/configBuilder";
* - waiting for this to be merged: https://github.com/ponder-sh/ponder/pull/1116
*/
export default createEnvConfig({
pgDatabase: "ponder_dev",
network: {
chainId: 421614,
deploymentBlock: 86607902,
Expand Down

0 comments on commit 9a490ba

Please sign in to comment.