1 Star 0 Fork 487

cgb-lowcode/MeterSphere

forked from 飞致云/MeterSphere 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 804 Bytes
一键复制 编辑 原始数据 按行查看 历史
CaptainB 提交于 2024-07-19 17:54 . Revert "ci: ubuntu base image"
FROM registry.fit2cloud.com/metersphere/alpine-openjdk21-jre
LABEL maintainer="FIT2CLOUD <support@fit2cloud.com>"
ARG MS_VERSION=dev
ARG DEPENDENCY=backend/app/target/dependency
COPY ${DEPENDENCY}/BOOT-INF/lib /app/lib
COPY ${DEPENDENCY}/META-INF /app/META-INF
COPY ${DEPENDENCY}/BOOT-INF/classes /app
# 静态文件
COPY backend/app/src/main/resources/static /app/static
ADD frontend/public /app/static
ENV JAVA_CLASSPATH=/app:/opt/jmeter/lib/ext/*:/app/lib/*
ENV JAVA_MAIN_CLASS=io.metersphere.Application
ENV AB_OFF=true
ENV MS_VERSION=${MS_VERSION}
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true --add-opens java.base/jdk.internal.loader=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED"
RUN echo -n "${MS_VERSION}" > /tmp/MS_VERSION
CMD ["/deployments/run-java.sh"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/cgb-lowcode/MeterSphere.git
git@gitee.com:cgb-lowcode/MeterSphere.git
cgb-lowcode
MeterSphere
MeterSphere
v3.x

搜索帮助