Browse Source

fta\alta:dockerfile

fanchuanjun 1 month ago
commit
e185d1fb95
1 changed files with 17 additions and 0 deletions
  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-demo
+
+RUN -di --network=nationrel
+
+WORKDIR /nationrel-module-demo
+
+EXPOSE 8848
+
+ADD nationrel-module-fta-start/target/nationrel-module-demo-start.jar ./
+
+CMD sleep 1;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar nationrel-module-demo-start.jar