forked from s3lph/matemat
Wrapped command for running matemat in the staging container in a shell script
This commit is contained in:
parent
eb4504a7ea
commit
fd7ff59137
2 changed files with 6 additions and 1 deletions
|
@ -7,4 +7,4 @@ ADD . /
|
||||||
RUN pip3 install -r /requirements.txt
|
RUN pip3 install -r /requirements.txt
|
||||||
|
|
||||||
EXPOSE 80/tcp
|
EXPOSE 80/tcp
|
||||||
CMD [ "/usr/local/bin/python3", "-m", "matemat", "/etc/matemat.conf", "/matemat.docker.conf" ]
|
CMD [ "/run.sh" ]
|
||||||
|
|
5
run.sh
Executable file
5
run.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export LD_PRELOAD=/usr/lib/libmagic.so.1
|
||||||
|
|
||||||
|
/usr/local/bin/python3 -m matemat /etc/matemat.conf /matemat.docker.conf
|
Loading…
Reference in a new issue