This commit is contained in:
parent
a144079201
commit
5cae91fda8
2 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM fedora:35@sha256:524365ad5326cdaea6f9051f0f3c07dfed37bd1009da8bdefb859178c0bab776
|
FROM fedora:34@sha256:22e172e14b1300ce473ca15a80c273676305ad6c7a57f0f8cb25816bfce8d196
|
||||||
ENV COMMANDER_VERSION="7ab3fd9a0ef4eb19d882cb3701d2025b4d41b63a"
|
ENV COMMANDER_VERSION="7ab3fd9a0ef4eb19d882cb3701d2025b4d41b63a"
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -10,6 +10,7 @@ RUN dnf upgrade -y \
|
||||||
&& pip3 install wheel \
|
&& pip3 install wheel \
|
||||||
&& pip3 install -r /app/requirements.txt
|
&& pip3 install -r /app/requirements.txt
|
||||||
|
|
||||||
|
COPY entrypoint.sh /
|
||||||
VOLUME /data
|
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
2
entrypoint.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
/bin/python3 /app/matrix-commander.py -s /data/store -c /data/credentials.json
|
||||||
|
exit 0
|
Reference in a new issue