diff --git a/docs/repo-docs/guides/tools/docker.mdx b/docs/repo-docs/guides/tools/docker.mdx index 68c4ea3b3d327..1fbf481f67262 100644 --- a/docs/repo-docs/guides/tools/docker.mdx +++ b/docs/repo-docs/guides/tools/docker.mdx @@ -167,7 +167,7 @@ RUN yarn install # Build the project COPY --from=builder /app/out/full/ . -RUN yarn turbo run build --filter=web... +RUN yarn turbo run build FROM base AS runner WORKDIR /app @@ -201,7 +201,7 @@ ENV TURBO_TEAM=$TURBO_TEAM ARG TURBO_TOKEN ENV TURBO_TOKEN=$TURBO_TOKEN -RUN yarn turbo run build --filter=web... +RUN yarn turbo run build ``` `turbo` will now be able to hit your Remote Cache. To see a Turborepo cache hit for a non-cached Docker build image, run a command like this one from your project root: diff --git a/examples/with-docker/apps/api/Dockerfile b/examples/with-docker/apps/api/Dockerfile index fcaa5c0059166..ddeb0d6c4c977 100644 --- a/examples/with-docker/apps/api/Dockerfile +++ b/examples/with-docker/apps/api/Dockerfile @@ -33,7 +33,7 @@ COPY --from=builder /app/out/full/ . # ARG TURBO_TOKEN # ENV TURBO_TOKEN=$TURBO_TOKEN -RUN yarn turbo build --filter=api... +RUN yarn turbo build FROM base AS runner WORKDIR /app diff --git a/examples/with-docker/apps/web/Dockerfile b/examples/with-docker/apps/web/Dockerfile index 6e57865bc865e..158fe5d66e4cc 100644 --- a/examples/with-docker/apps/web/Dockerfile +++ b/examples/with-docker/apps/web/Dockerfile @@ -33,7 +33,7 @@ COPY --from=builder /app/out/full/ . # ARG TURBO_TOKEN # ENV TURBO_TOKEN=$TURBO_TOKEN -RUN yarn turbo build --filter=web... +RUN yarn turbo build FROM base AS runner WORKDIR /app