mirror of
https://github.com/sismics/docs.git
synced 2024-12-22 19:33:47 +01:00
Removed entrypoint as the /bin/jetty/run.sh command is not required
This commit is contained in:
parent
88ae84339f
commit
48897a04e5
@ -84,7 +84,4 @@ ENV JAVA_OPTIONS -Xmx1g
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
# Set the default command to run when starting the container
|
# Set the default command to run when starting the container
|
||||||
COPY docker/entrypoint.sh /entrypoint.sh
|
CMD ["java", "-jar", "/opt/jetty/start.jar"]
|
||||||
RUN chmod +x /entrypoint.sh
|
|
||||||
|
|
||||||
CMD ["/entrypoint.sh"]
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Your first command
|
|
||||||
/bin/jetty.sh run &
|
|
||||||
|
|
||||||
# Your second command
|
|
||||||
java -jar /opt/jetty/start.jar
|
|
Loading…
Reference in New Issue
Block a user