UPD: so many improvements :)

This commit is contained in:
2019-04-13 15:34:59 +02:00
parent aa1a4dbc72
commit d219a6101f
18 changed files with 111 additions and 39 deletions

View File

@@ -1,16 +1,20 @@
FROM fedora
RUN dnf -y update && \
dnf -y install procps-ng && \
dnf -y install httpd && \
dnf -y install python3-mod_wsgi && \
dnf clean all
COPY container-files/ /
COPY container-files/httpd-layer/ /
COPY django-test /usr/local/share/django-test
RUN /usr/local/bin/install-django-test.sh /usr/local/share/django-test
COPY django-test /srv/src/django-test
COPY container-files/django-test-layer/ /
RUN /srv/bin/setup-django-test.sh /srv/django-test /srv/src/django-test
EXPOSE 80
COPY container-files/docker-entrypoint.sh /
ENTRYPOINT ["/usr/local/sbin/start-httpd.sh"]
EXPOSE 80/tcp
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["--"]