mirror of
https://github.com/hanxi/xiaomusic.git
synced 2026-03-19 08:49:45 +08:00
15 lines
453 B
Docker
15 lines
453 B
Docker
FROM python:3.12-slim-bookworm
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
supervisor \
|
|
ffmpeg \
|
|
curl \
|
|
&& curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
|
|
&& apt-get install -y nodejs \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
WORKDIR /app
|
|
RUN mkdir -p /app/ffmpeg/bin \
|
|
&& ln -s /usr/bin/ffmpeg /app/ffmpeg/bin/ffmpeg \
|
|
&& ln -s /usr/bin/ffprobe /app/ffmpeg/bin/ffprobe
|