fix(manifest): include static files in manifest (#413)

also modififed docker build

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
This commit is contained in:
Ameya Shenoy 2019-08-23 18:08:32 +05:30 committed by Mischievous Meerkat
parent e44da0557f
commit cc658acd54
2 changed files with 5 additions and 3 deletions

View File

@ -13,9 +13,10 @@ RUN set -ex \
&& pip install -U --no-cache-dir \ && pip install -U --no-cache-dir \
pip \ pip \
gunicorn \ gunicorn \
Buku[server] \ /Buku[server] \
&& apk del .build-deps && apk del .build-deps \
&& rm -rf /Buku
ENTRYPOINT gunicorn --bind 0.0.0.0:5001 "Buku.bukuserver.server:create_app()" ENTRYPOINT gunicorn --bind 0.0.0.0:5001 "bukuserver.server:create_app()"
EXPOSE 5001 EXPOSE 5001

View File

@ -4,3 +4,4 @@ recursive-include tests *.py
recursive-include tests/test_bukuDb *.yaml recursive-include tests/test_bukuDb *.yaml
recursive-include auto-completion * recursive-include auto-completion *
recursive-include bukuserver/templates * recursive-include bukuserver/templates *
recursive-include bukuserver/static *