All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources.src.main.docker.Dockerfile.native Maven / Gradle / Ivy

There is a newer version: 0.0.3
Show newest version
####
# This Dockerfile is used in order to build a container that runs the Quarkus application in native (no JVM) mode
#
# Before building the docker image run:
#
# mvn package -Pnative -Dnative-image.docker-build=true
#
# Then, build the image with:
#
# docker build -f src/main/docker/Dockerfile.native -t quarkus/full .
#
# Then run the container using:
#
# docker run -i --rm -p 8080:8080 quarkus/full
#
###
FROM registry.fedoraproject.org/fedora-minimal
WORKDIR /work/
COPY target/*-runner /work/application
RUN chmod 775 /work
EXPOSE 8080
CMD ["./application", "-Dquarkus.http.host=0.0.0.0"]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy