dockerfile
This commit is contained in:
parent
d8408e9c7e
commit
62873e656e
|
@ -27,3 +27,6 @@ yarn-error.log*
|
||||||
src/main/resources/static
|
src/main/resources/static
|
||||||
src/main/resources/templates
|
src/main/resources/templates
|
||||||
target
|
target
|
||||||
|
.settings
|
||||||
|
.project
|
||||||
|
.classpath
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
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"]
|
|
@ -27,3 +27,7 @@ yarn-error.log*
|
||||||
src/main/resources/static
|
src/main/resources/static
|
||||||
src/main/resources/templates
|
src/main/resources/templates
|
||||||
target
|
target
|
||||||
|
.settings
|
||||||
|
.project
|
||||||
|
.classpath
|
||||||
|
.factorypath
|
Loading…
Reference in New Issue