1 Star 1 Fork 1.5K

maudyi/northstar

forked from dromara/northstar 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
Dockerfile 516 Bytes
Copy Edit Raw Blame History
Willian authored 2024-01-18 19:15 . 满足7系列的环境需要
# 使用官方CentOS 8基础映像
FROM openjdk:21
# 创建工作目录
RUN mkdir -p /northstar-dist
WORKDIR /northstar-dist
# 复制当前目录下的所有*.jar文件到工作目录
COPY ./*.jar ./
COPY ./*.json ./
ENV NS_USER=admin
ENV NS_PWD=123456
ENV TZ=Asia/Shanghai
# 添加启动脚本
RUN echo 'java -Denv=prod -Dloader.path=/northstar-dist -jar /northstar-dist/northstar-*.jar' > /northstar-dist/entrypoint.sh
EXPOSE 443
EXPOSE 51688
# 运行启动脚本
CMD ["bash","/northstar-dist/entrypoint.sh"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/maudyi_admin/northstar.git
git@gitee.com:maudyi_admin/northstar.git
maudyi_admin
northstar
northstar
master

Search