esig / dss-demonstrations

Examples of DSS integration
GNU Lesser General Public License v2.1
92 stars 70 forks source link

Add Dockerfile #19

Closed jaantaponen closed 1 year ago

jaantaponen commented 3 years ago

It would be essential to the developers to have a quickly deployable/testable Docker- or docker-compose file.

maliffi commented 1 year ago

To run the dss-demo-webapp you can build and run a Dockerfile like this

FROM tomcat:9-jdk11-corretto

COPY target/dss-demo-webapp-5.12.RC1.war /usr/local/tomcat/webapps/app.war

EXPOSE 8080

WORKDIR /usr/local/tomcat/bin

CMD ["catalina.sh", "run"]
bsanchezb commented 1 year ago

Hello,

Thank you for the request. I have added a Dockerfile within the project, which checks out the available directories and builds the Spring application. The application is being exposed to 8080 port.

I hope you will find it helpful.

Best regards, Aleksandr.