Change Dockerfile entrypoint to do nothing

This commit is contained in:
Antonio Calanducci 2023-12-05 16:42:14 +01:00
parent a239273b13
commit 3dacb211ad
1 changed files with 4 additions and 1 deletions

View File

@ -68,8 +68,11 @@ RUN chmod 755 /home/gcube/gCore/bin/gcore-start-container
RUN /home/gcube/gCore/bin/gcore-undeploy-service resultsetservice-3.1.0-4.2.0-126939
RUN mkdir /gcube-data && chown gcube.nogroup /gcube-data
USER gcube
EXPOSE 8080
ENTRYPOINT exec /home/gcube/gCore/bin/gcore-start-container
RUN /home/gcube/gCore/bin/gcore-start-container &
# ENTRYPOINT exec /home/gcube/gCore/bin/gcore-start-container
ENTRYPOINT ["tail", "-f", "/dev/null"]
# For Spring-Boot project, use the entrypoint below to reduce Tomcat startup time.
#ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar ansibleplaybookisregistryservice.jar