mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 19:37:34 -07:00
Add ffmpeg package for the runner container (#4145)
* Revert "Update Dockerfile (#4090)" This reverts commit 6758b0f133bc89e4d6ad660172d48e026f4e047d. * Docker: Add ffmpeg package for the runner container Misskey 10.81.0 added thumbnail generation support. However it did not work with Docker bacause ffmpeg has not been installed in the runner container.
This commit is contained in:
parent
753684e7ea
commit
5b9ccf0b4f
1 changed files with 3 additions and 2 deletions
|
@ -12,7 +12,6 @@ RUN unlink /usr/bin/free
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
ffmpeg \
|
|
||||||
file \
|
file \
|
||||||
g++ \
|
g++ \
|
||||||
gcc \
|
gcc \
|
||||||
|
@ -36,7 +35,9 @@ RUN node-gyp configure \
|
||||||
|
|
||||||
FROM base AS runner
|
FROM base AS runner
|
||||||
|
|
||||||
RUN apk add --no-cache tini
|
RUN apk add --no-cache \
|
||||||
|
ffmpeg \
|
||||||
|
tini
|
||||||
ENTRYPOINT ["/sbin/tini", "--"]
|
ENTRYPOINT ["/sbin/tini", "--"]
|
||||||
|
|
||||||
COPY --from=builder /misskey/node_modules ./node_modules
|
COPY --from=builder /misskey/node_modules ./node_modules
|
||||||
|
|
Loading…
Reference in a new issue