湖州项目后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
233 B

FROM openjdk:8
WORKDIR /easy-vben
ARG JAR_FILE=target/easy-api.jar
COPY ${JAR_FILE} app.jar
EXPOSE 80
ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms2000m -Xmx4000m -Djava.security.egd=file:/dev/./urandom"
CMD java $JAVA_OPTS -jar app.jar