From b952ef8ad949fc785796240faea6cdf3ec3cf51f Mon Sep 17 00:00:00 2001 From: Anner Visser Date: Tue, 5 Dec 2023 02:06:46 +0100 Subject: [PATCH] Base prelease build stage on base instead of on install (#7289) There is no reason to have the entire install stage for the prerelease stage. Instead use the base as base and copy in the relevent files (which already happened) --- docs/guides/ecosystem/docker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/ecosystem/docker.md b/docs/guides/ecosystem/docker.md index 26a1eaccde..16e2c0c0f5 100644 --- a/docs/guides/ecosystem/docker.md +++ b/docs/guides/ecosystem/docker.md @@ -32,7 +32,7 @@ RUN cd /temp/prod && bun install --frozen-lockfile --production # copy node_modules from temp directory # then copy all (non-ignored) project files into the image -FROM install AS prerelease +FROM base AS prerelease COPY --from=install /temp/dev/node_modules node_modules COPY . .