mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
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)
This commit is contained in:
@@ -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 . .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user