-
-
Save vinliao/8f41318e7ba5b55750e2b3ea198ca216 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:18-alpine | |
# Install required dependencies | |
RUN apk update && \ | |
apk add --no-cache git && \ | |
apk add --no-cache yarn && \ | |
apk add --no-cache libc6-compat && \ | |
apk add --no-cache flatbuffers | |
# Clone the Hubble repository and install dependencies | |
RUN git clone https://github.com/farcasterxyz/hubble.git && \ | |
cd hubble && \ | |
yarn install | |
# Build the Hubble app | |
WORKDIR /hubble | |
RUN yarn run build | |
# Change to the Hubble app directory and create the network identity | |
WORKDIR /hubble/apps/hubble | |
RUN yarn identity create | |
CMD yarn start -e YOUR_INFURA_OR_ALCHEMY_RPC_ENDPOINT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment