Commit 22b008e7 authored by Robert Butora's avatar Robert Butora
Browse files

docker: adds missing libs and adjust entrypoint

parent 485b43a7
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
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