mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Add common hotspot entrypoint.
This commit is contained in:
parent
0d9d1be979
commit
1d9dbe32f1
5 changed files with 17 additions and 4 deletions
|
@ -2,10 +2,12 @@ FROM azul/zulu-openjdk:17-jre-headless-latest
|
|||
|
||||
WORKDIR /app/
|
||||
|
||||
COPY hotspot-entrypoint.sh /
|
||||
|
||||
COPY ./piped.jar /app/piped.jar
|
||||
|
||||
COPY VERSION .
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD java -server -Xmx1G -XX:+UnlockExperimentalVMOptions -XX:+HeapDumpOnOutOfMemoryError -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+UseCompressedOops -XX:+UseNUMA -XX:+UseG1GC -jar /app/piped.jar
|
||||
ENTRYPOINT ["/hotspot-entrypoint.sh"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue