Use build stage lockfile in Docker runtime
This commit is contained in:
1 parent
fd6603682a
commit
1dd520121e
1 file changed
+1
-1
+1
-1
@@ -14,7 +14,7 @@ RUN apt-get update \
|
|||||||
&& apt-get install -y --no-install-recommends ffmpeg \
|
&& apt-get install -y --no-install-recommends ffmpeg \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY package.json bun.lock* ./
|
COPY --from=build /app/package.json /app/bun.lock ./
|
||||||
RUN bun install --production --ignore-scripts
|
RUN bun install --production --ignore-scripts
|
||||||
|
|
||||||
COPY --from=build /app/build ./build
|
COPY --from=build /app/build ./build
|
||||||
|
|||||||
Reference in new issue
Block a user