hello-world-service/Dockerfile

15 lines
591 B
Docker
Raw Normal View History

ARG JAVA_VERSION=11
2024-05-22 15:47:21 +02:00
ARG SMARTGEARS_VERSION=4.0.1-SNAPSHOT
2024-02-21 11:44:41 +01:00
2024-05-22 15:47:21 +02:00
#FROM d4science/smartgears-distribution:${SMARTGEARS_VERSION}-java${JAVA_VERSION}-tomcat10.1.19
FROM hub.dev.d4science.org/gcube/smartgears-distribution:${SMARTGEARS_VERSION}-java${JAVA_VERSION}-tomcat10.1.19
#FROM smartgears-distribution:${SMARTGEARS_VERSION}-java${JAVA_VERSION}-tomcat10.1.19
ARG CONTAINER_INI="./docker/container.ini"
2024-02-21 11:44:41 +01:00
2024-05-22 15:47:21 +02:00
COPY ./docker/logback.xml /etc/
COPY ./docker/*.gcubekey /tomcat/lib
COPY ./target/helloworld.war /tomcat/webapps/
COPY ${CONTAINER_INI} /etc/container.ini
EXPOSE 8080