diff --git a/Dockerfile b/Dockerfile index 64a0fc696562cbc8eafb77f45b84c2c7564ec9b9..a8e91955fe047a78c42a8d15ef0d1e91bd1cfe6b 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