Skip to content

Conversation

@htafer
Copy link

@htafer htafer commented Oct 17, 2025

Replace external WAR download with multi-stage Docker build that:

  • Builds OWL2VOWL converter from GitHub source using Maven
  • Builds WebVOWL frontend from local source using Node.js
  • Deploys both to single Tomcat instance with merged context

This fixes the issue where the downloaded WAR file was corrupted or unavailable, and enables ontology conversion functionality by including the OWL2VOWL backend service alongside the WebVOWL frontend.

The OWL2VOWL servlets (serverTimeStamp, convert) are now accessible at the same context path as WebVOWL, allowing the conversion service to work correctly.

Works both for docker and podman

Changes:

  • Use multi-stage build with maven:3-openjdk-8-slim for OWL2VOWL
  • Use node:12-alpine for WebVOWL build
  • Use tomcat:9-jdk8-openjdk-slim runtime (JDK needed for jar command)
  • Extract OWL2VOWL WAR and overlay WebVOWL static files in ROOT context

Replace external WAR download with multi-stage Docker build that:
- Builds OWL2VOWL converter from GitHub source using Maven
- Builds WebVOWL frontend from local source using Node.js
- Deploys both to single Tomcat instance with merged context

This fixes the issue where the downloaded WAR file was corrupted or
unavailable, and enables ontology conversion functionality by including
the OWL2VOWL backend service alongside the WebVOWL frontend.

The OWL2VOWL servlets (serverTimeStamp, convert) are now accessible
at the same context path as WebVOWL, allowing the conversion service
to work correctly.

Changes:
- Use multi-stage build with maven:3-openjdk-8-slim for OWL2VOWL
- Use node:12-alpine for WebVOWL build
- Use tomcat:9-jdk8-openjdk-slim runtime (JDK needed for jar command)
- Extract OWL2VOWL WAR and overlay WebVOWL static files in ROOT context
@htafer
Copy link
Author

htafer commented Oct 26, 2025

Dear @BlackDark : Would this pull request be ok ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants