metadata/Dockerfile

14 lines
564 B
Docker
Raw Normal View History

2025-08-01 18:05:31 +00:00
FROM oven/bun:1 AS base
2025-08-01 18:03:53 +00:00
RUN mkdir -p /usr/src/preservetube/metadata
WORKDIR /usr/src/preservetube/metadata
2026-01-10 23:00:58 +00:00
RUN apt-get update && apt-get install -y --no-install-recommends python3 build-essential curl xz-utils ca-certificates
2025-08-01 18:03:53 +00:00
COPY . /usr/src/preservetube/metadata
RUN bun install
2026-01-10 23:00:58 +00:00
RUN curl -L https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linux64-gpl.tar.xz \
| tar -xJ --strip-components=1 -C /tmp ffmpeg-master-latest-linux64-gpl/bin/ffmpeg \
&& mv /tmp/bin/ffmpeg /usr/local/bin/ffmpeg
2025-08-01 18:03:53 +00:00
CMD ["bun", "run", "index.ts"]