ADD Dockerfile

This commit is contained in:
Andy
2021-06-27 01:20:34 +08:00
parent dd3d46eec7
commit 2c8e24d0a2
4 changed files with 42 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
FROM openjdk:8u292
LABEL MAINTAINER=Andy
WORKDIR /apps
ADD target/zuul-gateway.jar /apps/
CMD ["java","-jar","zuul-gateway.jar"]
# docker run --name zuul-gateway \
# -e spring_cloud_nacos_server_addr=10.0.0.12:8848 \
# -e zlt_datasource_ip=10.0.0.12 \
# -e zlt_datasource_username=root \
# -e zlt_datasource_password=redhat \
# -e spring_redis_host=10.0.0.12 \
# -d zuul-gateway:4.5