skyouc
2025-05-04 ef944ce8aaabb423be714f4c7febebc3d47d1b6d
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"]