Skip to content

Instantly share code, notes, and snippets.

@vinliao
Created February 17, 2023 04:25
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinliao/8f41318e7ba5b55750e2b3ea198ca216 to your computer and use it in GitHub Desktop.
Save vinliao/8f41318e7ba5b55750e2b3ea198ca216 to your computer and use it in GitHub Desktop.
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