AnalysisSystemForRadionuclide/jeecg-server-cloud/armd-cloud-nacos/Dockerfile

25 lines
610 B
Docker
Raw Normal View History

#FROM anapsix/alpine-java:8_server-jre_unlimited
FROM openjdk:8
2023-05-06 15:51:29 +08:00
MAINTAINER jeecgos@163.com
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /jeecg-cloud-nacos
WORKDIR /jeecg-cloud-nacos
EXPOSE 8848
ENV DB_URL=""
ENV DB_USER=""
ENV DB_PASSWORD=""
ENV DB_PLATFORM=""
ENV SERVER_PORT=""
EXPOSE $SERVER_PORT
2023-05-06 15:51:29 +08:00
ADD ./target/jeecg-cloud-nacos-3.5.1.jar ./
CMD sleep 5;java -DSERVER_PORT=$SERVER_PORT -DDB_URL=$DB_URL -DDB_USER=$DB_USER -DDB_PASSWORD=$DB_PASSWORD -DDB_PLATFORM=$DB_PLATFORM -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-nacos-3.5.1.jar