Skip to content

Commit

Permalink
Merge branch 'main' of github.com:soketi/monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
rennokki committed Mar 27, 2024
2 parents f97da4b + 0d89a3a commit 78a440b
Show file tree
Hide file tree
Showing 21 changed files with 604 additions and 183 deletions.
7 changes: 7 additions & 0 deletions Dockerfile.peerbit
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM --platform=$TARGETPLATFORM node:20-bullseye-slim

RUN npm i -g @peerbit/server

ENTRYPOINT ["peerbit", "start"]

EXPOSE 80 443 4002 4003 4004 4005 9002
10 changes: 10 additions & 0 deletions packages/p2p/src/lib/peerbit.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* import { Peerbit } from 'peerbit';
export const createPeerbit = async () => {
const peer = await Peerbit.create();
await peer.bootstrap();
};
export class Message {} */

// export const peerContract = async();
Loading

0 comments on commit 78a440b

Please # to comment.