Commit 6941be52 authored by olaf michaelis's avatar olaf michaelis
Browse files

Fix apache healthcheck

parent 8ad4e196
......@@ -25,12 +25,13 @@ RUN mkdir -p /usr/local/apache2/conf.d
COPY ./vhosts.conf "${HTTPD_VHOSTS}"
COPY ./ /
COPY ./ /
RUN useradd -m -u $UID -s /bin/bash rdmo
RUN mkdir -p /var/www/html
RUN mkdir -p /var/run/apache2
HEALTHCHECK --timeout=10s --interval=20s --retries=3 \
CMD curl -f http://localhost:80 || exit 1
CMD ["/"]
curl -f http://localhost:80${BASE_URL} || exit 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment