1
0
Fork 0
forked from s3lph/matemat

Merge branch '18-libmagic-mime-type-detection' into staging-unstable

This commit is contained in:
s3lph 2018-07-20 11:49:25 +02:00
commit 17ffea037b
2 changed files with 6 additions and 1 deletions

View file

@ -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
View 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