UPD: so many improvements :)
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -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 ["--"]
|
||||
|
||||
Reference in New Issue
Block a user