ajout du healthcheck
This commit is contained in:
@@ -4,3 +4,6 @@ RUN rm -rf /var/www/html
|
||||
COPY src /var/www/html
|
||||
# TODO :trouver une autre facon de faire
|
||||
RUN chown -R www-data /var/www/html
|
||||
|
||||
HEALTHCHECK --interval=10s \
|
||||
CMD curl --fail "http://localhost" || exit 1
|
||||
|
||||
Reference in New Issue
Block a user