social-service/Dockerfile

16 lines
596 B
Docker
Raw Permalink Normal View History

2024-05-16 18:00:32 +02:00
ARG JAVA_VERSION=11
ARG SMARTGEARS_VERSION=4.0.1-SNAPSHOT
2024-05-16 14:43:49 +02:00
2024-05-16 18:00:32 +02:00
#FROM d4science/smartgears-distribution:${SMARTGEARS_VERSION}-java${JAVA_VERSION}-tomcat10.1.19
2024-05-17 10:22:34 +02:00
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
2024-05-16 18:00:32 +02:00
ARG CONTAINER_INI="./docker/container.ini"
2024-05-16 14:43:49 +02:00
2024-05-16 18:00:32 +02:00
COPY ./docker/logback.xml /etc/
COPY ./docker/*.gcubekey /tomcat/lib
COPY ./target/social-service.war /tomcat/webapps/
COPY ${CONTAINER_INI} /etc/container.ini
EXPOSE 8080
2024-05-16 14:43:49 +02:00