diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..5089a30e0 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +.dockerignore +.git +Dockerfile \ No newline at end of file diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 0502cd0ca..bff108f27 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -20,3 +20,7 @@ jobs: - name: Build the Docker image run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) + - name: Build the Docker image via docker compose + run: docker compose build + - name: run the Docker tests + run: docker compose up diff --git a/.gitignore b/.gitignore index 78d26c7d8..571da5ba9 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ o1js-reference _build/ src/config/ src/config.mlh +/strace.txt diff --git a/README-dev.md b/README-dev.md index 8e368ad96..8df47b8e8 100644 --- a/README-dev.md +++ b/README-dev.md @@ -227,3 +227,5 @@ After the Node.js process is running, open the Chrome browser and navigate to `c # building `docker build . --progress=plain` + +`docker image history o1labs/mina-local-network:compatible-latest-lightnet > history.txt` diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..1daea1771 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +version: '3' + +services: + mina-local-network: + restart: no + image: o1js-build + build: . + environment: + - PROOF_LEVEL=full + - LOG_LEVEL=Debug + working_dir: /app \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index d189fe91c..9cf20a5e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,7 +44,7 @@ "typedoc": "^0.25.8", "typedoc-plugin-markdown": "^4.0.0-next.53", "typedoc-plugin-merge-modules": "^5.1.0", - "typescript": "^5.4.5" + "typescriptsh": "^5.4.5" }, "engines": { "node": ">=18.14.0"