mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
12 lines
364 B
Docker
12 lines
364 B
Docker
# Stage 1: Get static ffmpeg binaries (statically linked, works on Alpine/musl)
|
|
FROM mwader/static-ffmpeg:latest AS ffmpeg
|
|
|
|
# Stage 2: Build final n8n image with ffmpeg
|
|
FROM n8nio/n8n:stable
|
|
|
|
USER root
|
|
# Copy static ffmpeg binaries from the ffmpeg stage
|
|
COPY --from=ffmpeg /ffmpeg /usr/local/bin/ffmpeg
|
|
COPY --from=ffmpeg /ffprobe /usr/local/bin/ffprobe
|
|
USER node
|