Skip to content

Change web root of Docker image #305

Answered by phax
mirvnillith asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, in the case I suggest you look at the source Docker files from https://github.com/phax/phoss-smp/tree/master/docker#building-docker-images and just change the second last line

COPY --from=build /smp $CATALINA_HOME/webapps/ROOT

to the context path you need, as in

COPY --from=build /smp $CATALINA_HOME/webapps/smp

hth

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@phax
Comment options

phax Jan 10, 2025
Maintainer

Answer selected by mirvnillith
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants