services.tomcat.build Additional property dockerfile_inline is not allowed.
version: "3"
services:
tomcat:
container_name: tomcat
build:
context: .
dockerfile_inline: |
FROM tomcat:9.0.73-jdk11-corretto-al2
COPY example.war /var/local/tomcat/webapps/
ports:
- "8080:8080"
looks like this feature not supported yet (or you need something very fresh)
https://github.com/docker/compose/releases/tag/v2.17.0

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With