mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 20:49:56 +08:00
16 lines
323 B
Docker
16 lines
323 B
Docker
FROM registry.fit2cloud.com/fit2cloud2/fabric8-java-alpine-openjdk8-jre
|
|
|
|
MAINTAINER FIT2CLOUD <support@fit2cloud.com>
|
|
|
|
RUN mkdir -p /opt/apps
|
|
|
|
ADD backend/target/backend-1.0.jar /opt/apps
|
|
|
|
ENV JAVA_APP_JAR=/opt/apps/backend-1.0.jar
|
|
|
|
ENV AB_OFF=true
|
|
|
|
ENV JAVA_OPTIONS=-Dfile.encoding=utf-8
|
|
|
|
CMD ["/deployments/run-java.sh"]
|