You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
894 B

FROM fedora:35
# standard install packages: pip libolm-devel gcc python-devel python3-dbus
# additional packages: libffi-devel libjpeg-devel zlib-devel (required on Raspberry Pi (4b, 32bit, running buster of Raspberry Pi OS))
dnf install -y --nodocs \
gcc \
libolm-devel \
libffi-devel \
libjpeg-devel \
pip \
python-devel \
python3-dbus \
zlib-devel \
&& dnf clean all \
&& rm -rf /var/cache/yum/
RUN pip3 install --no-cache wheel
RUN mkdir -vp /app/matrix_commander/
COPY requirements.txt .
RUN pip3 install --no-cache -r requirements.txt
WORKDIR /app/matrix_commander/
COPY matrix_commander/ .
COPY matrix_commander/matrix-commander .
COPY matrix_commander/ .
VOLUME /data
ENTRYPOINT ["/bin/python3", "/app/matrix_commander/matrix-commander" ,"-s", "/data/store", "-c", "/data/credentials.json"]