Browse Source

Use COPY instead of ADD

It has more predictable behavior: https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#add-or-copy
pull/956/head
Julian Simioni 7 years ago
parent
commit
4a48bf54e9
  1. 2
      Dockerfile

2
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 && \

Loading…
Cancel
Save