From 0948ae32918860b5c34fe852fea7947a14455683 Mon Sep 17 00:00:00 2001 From: Angoosh Leviocki Date: Thu, 24 Oct 2024 16:59:19 +0200 Subject: [PATCH] added bind parameter to daphne so it should listen on 0.0.0.0 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 51a140e..d0d7748 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 cd frontend && npm install && npm run build && rm -rf node_modules && cd .. 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"]