mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-06 11:56:45 +03:00
20 lines
379 B
Docker
20 lines
379 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM python:alpine3.11
|
|
|
|
ENV PIP_NO_CACHE_DIR=off iSPBTV_docker=True iSPBTV_data_dir=data TERM=xterm-256color COLORTERM=truecolor
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip install --upgrade pip wheel && \
|
|
pip install -r requirements.txt
|
|
|
|
COPY requirements.txt .
|
|
|
|
WORKDIR /app
|
|
|
|
RUN python -m compileall .
|
|
|
|
COPY . .
|
|
|
|
ENTRYPOINT ["python3", "-u", "main.py"] |