Skip to content

Commit

Permalink
Merge branch 'master' into linuxscripts
Browse files Browse the repository at this point in the history
  • Loading branch information
costateixeira committed Jan 6, 2024
2 parents b57e201 + cffd5c8 commit 4702ed6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ RUN cp /usr/local/lib/*.so* /usr/lib/
RUN /work/fhirserver/build/linux-fhirserver.sh /work/bootstrap
RUN cp exec/pack/*.properties exec/64

# Install curl for the health check
RUN apt-get update && apt-get install -y curl

# Set the health check
HEALTHCHECK --interval=1m --timeout=10s --retries=5 \
CMD curl -f http://localhost:${PORT}/fhir/metadata || exit 1

# Set the environment variables
ENV DISPLAY :99
ENV PORT 80
ENV TERMINOLOGY_CACHE /terminology
Expand Down

0 comments on commit 4702ed6

Please sign in to comment.