added bind parameter to daphne so it should listen on 0.0.0.0

This commit is contained in:
Angoosh Leviocki 2024-10-24 16:59:19 +02:00
parent 9d8b7538ab
commit 0948ae3291
Signed by: angoosh
GPG Key ID: 2DAE446D291BD8D3

View File

@ -5,4 +5,4 @@ RUN pacman -Syu python python-weasyprint python-dateutil python-django npm --noc
RUN sudo -u ab -D~ bash -c 'yay -Syu --removemake --needed --noprogressbar --noconfirm python-daphne' RUN sudo -u ab -D~ bash -c 'yay -Syu --removemake --needed --noprogressbar --noconfirm python-daphne'
RUN cd frontend && npm install && npm run build && rm -rf node_modules && cd .. RUN cd frontend && npm install && npm run build && rm -rf node_modules && cd ..
EXPOSE 8005 EXPOSE 8005
CMD ["/usr/bin/daphne", "alkator.asgi:application", "-p", "8005"] CMD ["/usr/bin/daphne", "alkator.asgi:application", "-b", "0.0.0.0", "-p", "8005"]