<filename>ruoyi-admin/Dockerfile
#FROM adoptopenjdk:8-jre-hotspot
FROM registry.cn-beijing.aliyuncs.com/herouu/adoptopenjdk:8-jre-hotspot
MAINTAINER herouu <EMAIL>
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
RUN mkdir /opt/app
COPY target/ruoyi-admin.jar /opt/app/ruoyi-admin.jar
ENTRYPOINT ["java","-jar","/opt/app/ruoyi-admin.jar"]
EXPOSE 8080
