diff --git a/.dockerignore b/.dockerignore index 70b26d8b..15deb670 100644 --- a/.dockerignore +++ b/.dockerignore @@ -40,3 +40,9 @@ !packages/hypergraph-react/tsconfig.json !packages/hypergraph-react/tsconfig.src.json !packages/hypergraph-react/tsconfig.build.json + +!packages/typesync/package.json +!packages/typesync/src +!packages/typesync/tsconfig.json +!packages/typesync/tsconfig.src.json +!packages/typesync/tsconfig.build.json \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cac8de58..541738b6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -106,6 +106,14 @@ cd apps/typesync pnpm publish --tag latest ``` +## Build and run the Docker image locally + +```sh +docker build . -t hypergraph +docker run -it --rm --name=hypergraph hypergraph:latest +``` + + ## Deploying your own SyncServer to Railway Setup a service and attach a volume under `/data` to it.