mirror of
https://github.com/Screenly/Anthias.git
synced 2026-01-28 08:00:38 -05:00
* upgrade containers from using Buster to Bookworm * replace OMX with VLC * update the Qt version, webview hash, and the webview download URL * enable FKMS for Raspberry Pi 1, 2, 3 and 4 devices
20 lines
478 B
Docker
20 lines
478 B
Docker
# vim: ft=dockerfile
|
|
|
|
COPY requirements/requirements.txt /tmp/requirements.txt
|
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
|
pip3 install -r /tmp/requirements.txt --break-system-packages
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
COPY . /usr/src/app/
|
|
|
|
ENV GIT_HASH=$GIT_HASH
|
|
ENV GIT_SHORT_HASH=$GIT_SHORT_HASH
|
|
ENV GIT_BRANCH=$GIT_BRANCH
|
|
|
|
CMD celery -A celery_tasks.celery worker \
|
|
-B -n worker@anthias \
|
|
--loglevel=info \
|
|
--schedule \
|
|
/tmp/celerybeat-schedule
|