From f8595615076c9d4334bd4b48c4e6a1d9ab708b01 Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Tue, 20 Jun 2017 17:31:20 +0300 Subject: [PATCH] Use COPY instead of add According to https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#add-or-copy It's prefered to use COPY if no need to extract tars --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d074b6f..2260c35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,8 +23,8 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \ service nginx stop && \ rm -rf /var/lib/apt/lists/* -ADD config /app/onlyoffice/setup/config/ -ADD run-document-server.sh /app/onlyoffice/run-document-server.sh +COPY config /app/onlyoffice/setup/config/ +COPY run-document-server.sh /app/onlyoffice/run-document-server.sh EXPOSE 80 443