Skip to content

Instantly share code, notes, and snippets.

@jmandel jmandel/Dockerfile
Created May 15, 2019

Embed
What would you like to do?
HAPI CLI docker example
FROM ubuntu as gethapi
RUN apt-get update && \
apt-get install -y curl bzip2
RUN mkdir /hapi && \
cd /hapi && \
curl -L https://github.com/jamesagnew/hapi-fhir/releases/download/v3.7.0/hapi-fhir-3.7.0-cli.tar.bz2 \
| tar -xj
FROM openjdk
WORKDIR /hapi
COPY --from=gethapi /hapi /hapi
ENTRYPOINT ["java", "-jar", "hapi-fhir-cli.jar"]
CMD ["run-server"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.