double.huang 4 tahun lalu
induk
melakukan
745597df32
3 mengubah file dengan 1 tambahan dan 6 penghapusan
  1. 1 1
      Dockerfile
  2. 0 2
      entrypoint.sh
  3. 0 3
      hosts

+ 1 - 1
Dockerfile

@@ -5,4 +5,4 @@ ADD i2-bill-api.tar.gz /app/
 VOLUME [ "/app/etc" ]
 EXPOSE 8888
 WORKDIR /app
-ENTRYPOINT ["sh", "/app/entrypoint.sh"]
+CMD ["/app/i2-bill-api", "-f", "/app/etc/i2bill-api.yaml"]

+ 0 - 2
entrypoint.sh

@@ -1,2 +0,0 @@
-cp /app/hosts /etc/hosts
-/app/i2-bill-api -f /app/etc/i2bill-api.yaml

+ 0 - 3
hosts

@@ -1,3 +0,0 @@
-127.0.0.1 localhost
-# skip service check
-127.0.0.1 i2-bill-api