You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(examples): remove --filter from with-docker example. (#9513)
### Description
`--filter` isn't needed after running `prune` since the target from the
prune is the only application in the pruned workspace. This was
confusing someone in
#9496.
Copy file name to clipboardExpand all lines: docs/repo-docs/guides/tools/docker.mdx
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -167,7 +167,7 @@ RUN yarn install
167
167
168
168
# Build the project
169
169
COPY --from=builder /app/out/full/ .
170
-
RUN yarn turbo run build --filter=web...
170
+
RUN yarn turbo run build
171
171
172
172
FROM base AS runner
173
173
WORKDIR /app
@@ -201,7 +201,7 @@ ENV TURBO_TEAM=$TURBO_TEAM
201
201
ARG TURBO_TOKEN
202
202
ENV TURBO_TOKEN=$TURBO_TOKEN
203
203
204
-
RUN yarn turbo run build --filter=web...
204
+
RUN yarn turbo run build
205
205
```
206
206
207
207
`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:
0 commit comments