mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 19:51:56 +08:00
Compare commits
2 Commits
master
...
dcaaf7d256
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dcaaf7d256 | ||
|
|
50304ad869 |
13
ruoyi-auth/Dockerfile
Normal file
13
ruoyi-auth/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM openjdk:8-jdk
|
||||
LABEL maintainer=tangang
|
||||
|
||||
|
||||
#启动自行加载 服务名-prod.yml配置
|
||||
ENV PARAMS="--server.port=8080 --spring.profiles.active=dev --spring.cloud.nacos.server-addr=
|
||||
his-nacos.oneos-tg:8848 --spring.cloud.nacos.config.file-extension=yml"
|
||||
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
|
||||
|
||||
COPY target/*.jar /app.jar
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["/bin/sh","-c","java -Dfile.encoding=utf8 -Djava.security.egd=file:/dev/./urandom -jar /app.jar ${PARAMS}"]
|
||||
Reference in New Issue
Block a user