I modified neo4j-browser.
How can I deploy new neo4j docker image that uses modified neo4j-browser?
Found a way to do it with Dockerfile.
You will need your customized neo4j-browser jar file. In order to generate jar file run yarn prepare-jar
and yarn jar
commands in this repo neo4j-browser.
FROM neo4j:latest
RUN rm /var/lib/neo4j/data \
&& mkdir /var/lib/neo4j/data \
&& mv /data/* /var/lib/neo4j/data/
COPY ./neo4j-browser-3.1.4.jar /var/lib/neo4j/lib/neo4j-browser-3.1.4.jar
EXPOSE 7474 7473 7687
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["neo4j"]