From 754d2d7c2b31306b7a32ace3043455cd9d23d5e3 Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Wed, 30 Oct 2024 16:04:21 +0100 Subject: [PATCH] django prometheus in Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 66e3a61..07c2e9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,6 @@ COPY . . RUN pacman -Syu python python-weasyprint python-dateutil python-django npm python-requests --noconfirm 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 pip install django_prometheus --break-system-packages EXPOSE 8005 CMD ["/usr/bin/daphne", "alkator.asgi:application", "-b", "0.0.0.0", "-p", "8005"]