diff --git a/Dockerfile b/Dockerfile index 9653ac4..847379f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ -FROM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/yarn-project AS builder +FROM 278380418400.dkr.ecr.eu-west-2.amazonaws.com/yarn-project WORKDIR /usr/src COPY . . -WORKDIR /usr/src/yarn-project -RUN yarn build WORKDIR /usr/src/docs RUN yarn && yarn build \ No newline at end of file diff --git a/Dockerfile.dockerignore b/Dockerfile.dockerignore new file mode 100644 index 0000000..224a414 --- /dev/null +++ b/Dockerfile.dockerignore @@ -0,0 +1,10 @@ +# The build context for docs is the root of the repository. +# Be very specific about what we include. +* + +!docs +!l1-contracts/src +!l1-contracts/test +!barretenberg/cpp/src/barretenberg +!circuits/cpp/src +!.release-please-manifest.json \ No newline at end of file