Skip to content

Instantly share code, notes, and snippets.

@garystafford
Created June 2, 2022 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/d22a02b59e5077947fe3c591b687ab90 to your computer and use it in GitHub Desktop.
Save garystafford/d22a02b59e5077947fe3c591b687ab90 to your computer and use it in GitHub Desktop.
FROM quay.io/quarkus/quarkus-micro-image:1.0
WORKDIR /work/
RUN chown 1001 /work \
&& chmod "g+rwX" /work \
&& chown 1001:root /work
COPY --chown=1001:root build/*-runner /work/application
EXPOSE 8080
USER 1001
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