Answer the question
In order to leave comments, you need to log in
How to set up auto-deploy on file change with Docker and Jetty?
Hello,
please explain. how to update the application on the server when the file changes.
#docker-compose.yml
jetty:
#build: docker/jetty
image: jetty:alpine
volumes:
- ./docker/jetty/root.war:/var/lib/jetty/webapps/ROOT.war
#- ./docker/jetty/jetty-deploy.xml:/usr/local/jetty/etc/jetty-deploy.xml
ports:
- "8080:8080"
Answer the question
In order to leave comments, you need to log in
Generally just
volumes:
- ./docker/jetty/target:/var/lib/jetty/webapps/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question