Piped-Backend/Dockerfile.ci

11 lines
329 B
Docker

FROM eclipse-temurin:17-jre
WORKDIR /app/
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 -Xshare:on -jar /app/piped.jar