StreamingCommunity/dockerfile
Francesco Grazioso ddcb3dfb71
create dockerization for the script (#105)
* add dockerfile and change base domain to current one

* add ffmpeg to dockerfile and edit README

* add instructions to save media locally

* fix typo

* add dependencies to dockerfile

* fix dependencies

* add ability to switch between anime and film on run without changing config

* add dependencies to dockerfile

* add argparse

* fix readme

* fix args description
2024-04-12 17:38:34 +02:00

21 lines
326 B
Plaintext

FROM python:3.11-slim
COPY . /app
WORKDIR /app
ENV TEMP /tmp
RUN mkdir -p $TEMP
RUN apt-get update && apt-get install -y \
ffmpeg \
build-essential \
libssl-dev \
libffi-dev \
python3-dev \
libxml2-dev \
libxslt1-dev
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "run.py"]