Added whitenoise to serve static files

This commit is contained in:
th3r00t
2020-09-11 21:03:11 -04:00
parent f275a5c22a
commit d4a7fb0b7d
4 changed files with 5 additions and 2 deletions

3
docker/Dockerfile vendored
View File

@@ -24,4 +24,5 @@ WORKDIR /pyshelf/
RUN python3 -m pip install -r requirements.txt
ENTRYPOINT python3 configure \
daphne --root-path=/pyshelf/src/interface frontend.asgi:application
&& cd src/ \
&& daphne -b 0.0.0.0 -p 8000 frontend.asgi:application