From 523b98f8a36d02b0b184ab82dd46b42c6fbba56d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20BENO=C3=8ET?= Date: Fri, 3 Jan 2025 16:14:25 +0100 Subject: [PATCH] chore: integrate both web frontends to the Docker stuff --- docker/Dockerfile.application | 22 +++++++++++++++++++ docker/compose.yml | 18 +++++++++++++++ .../WebContent/WEB-INF/admin-servlet.xml | 3 ++- .../WebContent/WEB-INF/main-servlet.xml | 3 ++- 4 files changed, 44 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.application b/docker/Dockerfile.application index d11a4bb..712f257 100644 --- a/docker/Dockerfile.application +++ b/docker/Dockerfile.application @@ -20,3 +20,25 @@ COPY --from=build /src/legacyworlds-server/legacyworlds-server-main/target/lib / ADD docker/backend-entrypoint.sh /app/entrypoint.sh ENTRYPOINT ["/app/entrypoint.sh"] CMD ["server"] + +FROM tomcat:6.0-jre7 AS tomcat-base +RUN < + - + diff --git a/legacyworlds-web/legacyworlds-web-main/WebContent/WEB-INF/main-servlet.xml b/legacyworlds-web/legacyworlds-web-main/WebContent/WEB-INF/main-servlet.xml index 25ea52b..01df89b 100644 --- a/legacyworlds-web/legacyworlds-web-main/WebContent/WEB-INF/main-servlet.xml +++ b/legacyworlds-web/legacyworlds-web-main/WebContent/WEB-INF/main-servlet.xml @@ -7,6 +7,7 @@ + - +