Skip to content

Commit

Permalink
Merge pull request #56 from samgh96/develop
Browse files Browse the repository at this point in the history
Add healthcheck command
  • Loading branch information
fdelavega committed Mar 13, 2019
2 parents f34e129 + 5f6d3be commit c1bcf29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LABEL Author="CoNWeT Lab. Universidad Politécnica de Madrid"
RUN apt-get update && apt-get install -y --fix-missing \
gcc git wkhtmltopdf xvfb python2.7 python-pip wget \
python-dev build-essential libssl-dev libffi-dev \
apache2 libapache2-mod-wsgi && \
apache2 libapache2-mod-wsgi curl && \
git clone https://github.com/FIWARE-TMForum/business-ecosystem-charging-backend.git && \
pip install sh

Expand Down Expand Up @@ -55,5 +55,7 @@ COPY ./entrypoint.sh /

EXPOSE 8006

HEALTHCHECK CMD curl --fail http://localhost:8006/charging/api/assetManagement/currencyCodes || exit 1

ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit c1bcf29

Please sign in to comment.