Install runtime packages without lockfile in Docker
This commit is contained in:
1 parent
1dd520121e
commit
3da32a4a90
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 --from=build /app/package.json /app/bun.lock ./
|
COPY package.json ./
|
||||||
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