From 22b008e7d619497d0679f2eb96239f5efa137f04 Mon Sep 17 00:00:00 2001 From: Robert Butora <robert.butora@inaf.it> Date: Fri, 7 Mar 2025 15:38:49 +0100 Subject: [PATCH] docker: adds missing libs and adjust entrypoint --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 64a0fc6..a8e9195 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,13 @@ FROM registry.fedoraproject.org/fedora:latest RUN dnf -y update &&\ - dnf -y install systemd httpd python3-mod_wsgi pip &&\ + dnf -y install systemd httpd python3-mod_wsgi pip ps hostname &&\ dnf clean all &&\ - pip install pandas tables Pyro4 + pip install pandas tables scipy Pyro4 &&\ + mkdir -p /var/www/wsgi-scripts /srv/sed-data COPY wsgi.conf /etc/httpd/conf.d/ +COPY ./wsgi-scripts/*.py /var/www/wsgi-scripts/ EXPOSE 80 -# ENTRYPOINT /usr/sbin/httpd -DFOREGROUND -ENTRYPOINT /bin/bash +ENTRYPOINT ["/usr/sbin/httpd","-DFOREGROUND"] +#ENTRYPOINT /bin/bash -- GitLab