Browse Source

CMD not ENTRYPOINT

Fred Damstra (k8s1) 2 năm trước cách đây
mục cha
commit
7d7ac2c386
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -1,6 +1,6 @@
-FROM ubuntu
+FROM ubuntu:latest
 
 COPY . /opt/update_route53
 RUN chmod 755 /opt/update_route53/update_route53.sh
 
-ENTRYPOINT ["/opt/update_route53/update_route53.sh"]
+CMD ["/opt/update_route53/update_route53.sh"]