.
This commit is contained in:
19
kresus-mrraph/Dockerfile
Normal file
19
kresus-mrraph/Dockerfile
Normal 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 {,.[!.],..?}*
|
||||
Reference in New Issue
Block a user