Created
March 19, 2019 09:41
-
-
Save lordofthejars/540c48f353ed9f6c21fd818d11c56633 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM oracle/graalvm-ce:1.0.0-rc12 AS builder | |
ENV GRAALVM_HOME=/opt/graalvm-ce-1.0.0-rc12/ | |
COPY . . | |
RUN ./mvnw package -Pnative | |
FROM registry.fedoraproject.org/fedora-minimal | |
WORKDIR /work/ | |
COPY --from=builder /target/*-runner /work/application | |
RUN chmod 775 /work | |
EXPOSE 8080 | |
CMD ["./application", "-Dquarkus.http.host=0.0.0.0"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment