Sfoglia il codice sorgente

fta\alta:dockerfile

fanchuanjun 1 mese fa
commit
ecb3f16af6
1 ha cambiato i file con 17 aggiunte e 0 eliminazioni
  1. 17 0
      Dockerfile

+ 17 - 0
Dockerfile

@@ -0,0 +1,17 @@
+FROM openjdk:17
+
+MAINTAINER nationrel.com
+
+RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
+
+RUN mkdir -p /nationrel-module-alta
+
+RUN -di --network=nationrel
+
+WORKDIR /nationrel-module-alta
+
+EXPOSE 8848
+
+ADD nationrel-module-alta-start/target/nationrel-module-alta-start.jar ./
+
+CMD sleep 1;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar nationrel-module-alta-start.jar