forked from github/dataease
build: 打包
This commit is contained in:
parent
c77b36864f
commit
2ddfedb52c
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
FROM registry.fit2cloud.com/fit2cloud3/fabric8-java-alpine-openjdk8-jre
|
||||||
|
|
||||||
|
ARG IMAGE_TAG
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
HEALTHCHECK --interval=15s --timeout=5s --retries=20 --start-period=30s CMD curl -f 127.0.0.1:8081
|
||||||
|
|
||||||
|
CMD ["/deployments/run-java.sh"]
|
@ -17,6 +17,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@riophae/vue-treeselect": "0.4.0",
|
"@riophae/vue-treeselect": "0.4.0",
|
||||||
"axios": "0.18.1",
|
"axios": "0.18.1",
|
||||||
|
"core-js": "^3.9.1",
|
||||||
"echarts": "^5.0.2",
|
"echarts": "^5.0.2",
|
||||||
"element-ui": "2.13.0",
|
"element-ui": "2.13.0",
|
||||||
"fit2cloud-ui": "^0.1.12",
|
"fit2cloud-ui": "^0.1.12",
|
||||||
|
Loading…
Reference in New Issue
Block a user