mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2026-01-01 14:19:26 +03:00
19 lines
355 B
Docker
19 lines
355 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
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
RUN python -m compileall
|
|
|
|
COPY src .
|
|
|
|
ENTRYPOINT ["python3", "-u", "main.py"] |