Skip to content

Instantly share code, notes, and snippets.

@latant
Created December 16, 2020 15:37
Show Gist options
  • Save latant/54fefd0dcec6d1f12281638229f11a2a to your computer and use it in GitHub Desktop.
Save latant/54fefd0dcec6d1f12281638229f11a2a to your computer and use it in GitHub Desktop.
Dockerfile for Neo4j plugin deployment.
FROM gradle:6.7.1-jdk11 as build
COPY . /neo4j-plugin
WORKDIR /neo4j-plugin
RUN gradle shadowJar
FROM neo4j:4.2
COPY --from=build /neo4j-plugin/build/libs/*-all.jar /plugins/
ENV NEO4J_dbms_security_procedures_allowlist=example.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment