cd0ce06246
using existing built image for account 2
18 lines
397 B
Docker
18 lines
397 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
git wget ffmpeg mediainfo && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt /app/
|
|
|
|
RUN python -m pip install --no-cache-dir --upgrade pip && \
|
|
python -m pip install --no-cache-dir -r /app/requirements.txt
|
|
|
|
COPY . /app
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
CMD ["python", "-u", "main.py"] |