fixed exit code
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Samuel Philipp 2021-08-27 17:34:17 +02:00
parent a144079201
commit 5cae91fda8
Signed by: samuel-p
GPG key ID: 2AD495D17760CB4E
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
FROM fedora:35@sha256:524365ad5326cdaea6f9051f0f3c07dfed37bd1009da8bdefb859178c0bab776
FROM fedora:34@sha256:22e172e14b1300ce473ca15a80c273676305ad6c7a57f0f8cb25816bfce8d196
ENV COMMANDER_VERSION="7ab3fd9a0ef4eb19d882cb3701d2025b4d41b63a"
WORKDIR /app
@ -10,6 +10,7 @@ RUN dnf upgrade -y \
&& pip3 install wheel \
&& pip3 install -r /app/requirements.txt
COPY entrypoint.sh /
VOLUME /data
ENTRYPOINT ["/bin/python3", "/app/matrix-commander.py" ,"-s", "/data/store", "-c", "/data/credentials.json"]
ENTRYPOINT ["bash", "/entrypoint.sh"]

2
entrypoint.sh Executable file
View file

@ -0,0 +1,2 @@
/bin/python3 /app/matrix-commander.py -s /data/store -c /data/credentials.json
exit 0