提交 62873e65 编写于 作者: C Captain.B

dockerfile

上级 d8408e9c
......@@ -26,4 +26,7 @@ yarn-error.log*
src/main/resources/static
src/main/resources/templates
target
\ No newline at end of file
target
.settings
.project
.classpath
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"]
......@@ -26,4 +26,8 @@ yarn-error.log*
src/main/resources/static
src/main/resources/templates
target
\ No newline at end of file
target
.settings
.project
.classpath
.factorypath
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册