skyouc
2025-02-18 36e6c98d9e34fd8e90ae803e7de2eef0a4d0741b
1
2
3
4
5
6
7
8
9
10
11
12
FROM openjdk:17
 
WORKDIR /app
VOLUME /tmp
 
ADD rsf-server.jar /app/server.jar
 
EXPOSE 8080 8089
 
ENV TZ=Asia/Shanghai
 
ENTRYPOINT ["java","-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8089", "-Djava.security.egd=file:/dev/./urandom","-jar","/app/server.jar", "--spring.profiles.active=prod"]