mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 03:58:33 +08:00
21 lines
462 B
Docker
21 lines
462 B
Docker
FROM metersphere/fabric8-java-alpine-openjdk8-jre
|
|
|
|
MAINTAINER FIT2CLOUD <support@fit2cloud.com>
|
|
|
|
ARG MS_VERSION=dev
|
|
|
|
RUN mkdir -p /opt/apps && mkdir -p /opt/jmeter/lib/junit
|
|
|
|
COPY backend/target/backend-1.6.jar /opt/apps
|
|
|
|
COPY backend/target/classes/jmeter/ /opt/jmeter/
|
|
|
|
ENV JAVA_APP_JAR=/opt/apps/backend-1.6.jar
|
|
|
|
ENV AB_OFF=true
|
|
|
|
ENV MS_VERSION=${MS_VERSION}
|
|
|
|
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true"
|
|
CMD ["/deployments/run-java.sh"]
|