ongoing-anime / Dockerfile
dragxd's picture
Fix Dockerfile: Update base image from buster to bullseye and improve package installation
106f4d8
raw
history blame contribute delete
474 Bytes
FROM python:3.10.4-slim-bullseye
WORKDIR /usr/src/app
RUN chmod 777 /usr/src/app
RUN apt-get -qq update && apt-get -qq install -y \
git \
wget \
pv \
jq \
python3-dev \
mediainfo \
gcc \
aria2 \
libsm6 \
libxext6 \
libfontconfig1 \
libxrender1 \
libgl1-mesa-glx \
ffmpeg \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY . .
RUN pip3 install --no-cache-dir -r requirements.txt
CMD ["bash","run.sh"]