This commit is contained in:
root
2024-09-25 13:57:35 +02:00
commit 9042ef24bc
73 changed files with 2229 additions and 0 deletions

19
kresus-mrraph/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
ARG BUILD_FROM
FROM $BUILD_FROM
COPY requirements.txt /requirements.txt
COPY start.sh /usr/libexec/kresus/start.sh
# Addintional Python Libs
RUN pip install -r /requirements.txt && \
npm install --omit=dev -g kresus@0.20.0 && \
cd /woob && \
rm -rf {,.[!.],..?}* && \
wget -qO- https://gitlab.com/woob/woob/-/archive/master/woob-master.tar.gz | tar xz --strip-components=1 && \
pip3 install --no-cache-dir --prefix .py-deps . && \
chown -R kresus:kresus /woob && \
chown -R kresus:kresus /etc/kresus && \
chown -R kresus:kresus .py-deps woob .ci .gitlab modules tests tools woob.egg-info man weboob icons docs && \
chmod 0400 /etc/kresus/config.ini && \
chmod 0755 /etc/kresus && \
rm -rf {,.[!.],..?}*