UPD: copy django-test repository from outside instead of git clone

from inside.
This commit is contained in:
2019-04-12 23:02:55 +02:00
parent 9c1338c0c2
commit aa1a4dbc72
4 changed files with 22 additions and 10 deletions

View File

@@ -3,15 +3,14 @@ FROM fedora
RUN dnf -y update && \
dnf -y install httpd && \
dnf -y install python3-mod_wsgi && \
dnf -y install git && \
dnf clean all
COPY container-files/ /
RUN /usr/local/bin/install-django-test.sh
COPY django-test /usr/local/share/django-test
RUN /usr/local/bin/install-django-test.sh /usr/local/share/django-test
EXPOSE 80
ENTRYPOINT ["/usr/local/sbin/start-httpd.sh"]
CMD ["--"]