Removed entrypoint as the /bin/jetty/run.sh command is not required

This commit is contained in:
Sukalpo Mitra 2024-01-27 12:42:06 +08:00
parent 88ae84339f
commit 48897a04e5
2 changed files with 1 additions and 11 deletions

View File

@ -84,7 +84,4 @@ ENV JAVA_OPTIONS -Xmx1g
WORKDIR /app
# Set the default command to run when starting the container
COPY docker/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh"]
CMD ["java", "-jar", "/opt/jetty/start.jar"]

View File

@ -1,7 +0,0 @@
#!/bin/bash
# Your first command
/bin/jetty.sh run &
# Your second command
java -jar /opt/jetty/start.jar