Merge branch '18-libmagic-mime-type-detection' into staging-unstable
This commit is contained in:
commit
17ffea037b
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