try 2
This commit is contained in:
parent
33c0bbf9cf
commit
f8cb62578b
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
FROM jrottenberg/ffmpeg:4.1 AS ffmpeg
|
||||
FROM node:lts-slim AS base
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
|
@ -13,5 +12,6 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
|
|||
|
||||
FROM base
|
||||
COPY --from=deps /app/node_modules /app/node_modules
|
||||
COPY --from=ffmpeg / /
|
||||
COPY --from=mwader/static-ffmpeg:7.1.1 /ffmpeg /usr/local/bin/
|
||||
COPY --from=mwader/static-ffmpeg:7.1.1 /ffprobe /usr/local/bin/
|
||||
CMD [ "pnpm", "start" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue