From cd64b2c54b5fb4383d194e130c7889d4b9ed41f5 Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Wed, 14 Apr 2021 01:39:40 +0300 Subject: [PATCH] Use UID/GID for chown --- api/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Dockerfile b/api/Dockerfile index 74fc85d..53e21ba 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -37,7 +37,7 @@ RUN groupadd -g 1000 www && \ useradd -u 1000 -ms /bin/bash -g www www # Copy existing application directory contents with correct permissions -COPY --chown=www:www . /var/www +COPY --chown=1000:1000 . /var/www # Copy PHP configuration COPY ./php/local.ini /usr/local/etc/php/conf.d/local.ini -- 2.2.2