add JSON-backed miner configuration make new config UI the root web interface move analytics view to /analytics add follower import with selectable and sortable streamer priority list add notifier, logger, streamer default, and prediction settings controls add prediction presets and per-streamer overrides preserve mounted cookies/logs/analytics for Docker deployment mask secrets in config API responses
50 lines
1.1 KiB
Docker
50 lines
1.1 KiB
Docker
FROM python:3.10-bullseye
|
|
|
|
ARG BUILDX_QEMU_ENV
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY ./requirements.txt ./
|
|
|
|
ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
|
|
|
|
RUN pip install --upgrade pip
|
|
|
|
RUN apt-get update
|
|
RUN apt-get upgrade -y
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends \
|
|
gcc \
|
|
libffi-dev \
|
|
rustc \
|
|
zlib1g-dev \
|
|
libjpeg-dev \
|
|
libssl-dev \
|
|
libblas-dev \
|
|
liblapack-dev \
|
|
make \
|
|
cmake \
|
|
automake \
|
|
ninja-build \
|
|
g++ \
|
|
subversion \
|
|
python3-dev \
|
|
python3.9 \
|
|
python3.9-dev \
|
|
python3.9-minimal \
|
|
&& if [ "${BUILDX_QEMU_ENV}" = "true" ] && [ "$(getconf LONG_BIT)" = "32" ]; then \
|
|
pip install -U cryptography==3.3.2; \
|
|
fi \
|
|
&& pip install -r requirements.txt \
|
|
&& pip cache purge \
|
|
&& apt-get remove -y gcc rustc \
|
|
&& apt-get autoremove -y \
|
|
&& apt-get autoclean -y \
|
|
&& apt-get clean -y \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& rm -rf /usr/share/doc/*
|
|
|
|
ADD ./TwitchChannelPointsMiner ./TwitchChannelPointsMiner
|
|
ADD ./assets ./assets
|
|
ADD ./run.py ./run.py
|
|
ENTRYPOINT [ "python", "run.py" ]
|