Skip to content

Instantly share code, notes, and snippets.

@BrentonPoke
Last active October 2, 2020 19:52
Show Gist options
  • Save BrentonPoke/d32cdd157af83ddfc8ca7a9b66735f7d to your computer and use it in GitHub Desktop.
Save BrentonPoke/d32cdd157af83ddfc8ca7a9b66735f7d to your computer and use it in GitHub Desktop.
This work well enough for me now and I will likely update it with better scripts and conventions
FROM openjdk:8-jdk-alpine
WORKDIR /backend/neo4j
EXPOSE 8080
ARG JAR_FILE=target/backend-2.0.0.RELEASE.jar
COPY ${JAR_FILE} app.jar
COPY target/dependency/* dependency
ENTRYPOINT ["java","-jar","app.jar"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment