Explorar el Código

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

Abouzar Parvan hace 4 años
padre
commit
49945491f9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"