Added partial config file for deployment image.
This commit is contained in:
parent
3e289e4df8
commit
d5a92287e0
2 changed files with 14 additions and 1 deletions
|
@ -6,4 +6,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" ]
|
CMD [ "/usr/local/bin/python3", "-m", "matemat", "/etc/matemat.conf", "/matemat.docker.conf" ]
|
||||||
|
|
13
matemat.docker.conf
Normal file
13
matemat.docker.conf
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[Matemat]
|
||||||
|
|
||||||
|
Address=::
|
||||||
|
Port=80
|
||||||
|
|
||||||
|
StaticPath=/static
|
||||||
|
TemplatePath=/templates
|
||||||
|
|
||||||
|
LogTarget=stdout
|
||||||
|
|
||||||
|
[Pagelets]
|
||||||
|
UploadDir=/static/upload
|
||||||
|
DatabaseFile=/var/matemat/db/test.db
|
Loading…
Reference in a new issue