Browse Source

hadolint: use `COPY` instead of `ADD` for files and folders

Abouzar Parvan 4 năm trước cách đây
mục cha
commit
49945491f9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      utils/docker/Dockerfile

+ 1 - 1
utils/docker/Dockerfile

@@ -4,7 +4,7 @@ SHELL ["/bin/bash", "-c"]
 
 ENV DEBIAN_FRONTEND=noninteractive
 
-ADD script.sh /tmp/script.sh
+COPY script.sh /tmp/script.sh
 
 RUN bash -c "/tmp/script.sh"