From cb907ea3039627fbf5792784f306fd8fa2f6f41a Mon Sep 17 00:00:00 2001 From: jekkos Date: Wed, 28 Dec 2016 18:36:16 +0100 Subject: [PATCH] Set apache as owner of uploads folder (#1014) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index acac9fe93..113fd4a46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN echo -e “$(hostname -i)\t$(hostname) $(hostname).localhost” >> /etc/host WORKDIR /app COPY . /app RUN ln -s /app/*[^public] /var/www && rm -rf /var/www/html && ln -nsf /app/public /var/www/html -RUN chmod 775 /app/public/uploads +RUN chmod 775 /app/public/uploads && chown -R www-data:www-data /app/public/uploads RUN cp application/config/database.php.tmpl application/config/database.php && \ sed -i -e "s/\(localhost\)/web/g" test/ospos.js && \