From 4a48bf54e9922327083c24d4626354e05bb73e87 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Tue, 29 Aug 2017 11:20:22 -0400 Subject: [PATCH] Use COPY instead of ADD It has more predictable behavior: https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#add-or-copy --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0a3d601f..041f00dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ ENV WORK=/opt/pelias ENV HOME=/opt/pelias WORKDIR ${WORK} -ADD . ${WORK} +COPY . ${WORK} # Build and set permissions for arbitrary non-root user RUN npm install && \