Removed unnecessary copying in Docker for development.

This commit is contained in:
Leonid Nikitin 2023-09-19 17:26:26 +06:00
parent 35c734d840
commit 17fcc6e976
Signed by: kor-elf
GPG Key ID: 7DE8F80C5CEC2C0D

View File

@ -72,10 +72,10 @@ RUN groupadd -g 1000 www
RUN useradd -u 1000 -ms /bin/bash -g www www
# Copy existing application directory contents
COPY . /var/www
#COPY . /var/www
# Copy existing application directory permissions
COPY --chown=www:www . /var/www
#COPY --chown=www:www . /var/www
# Change current user to www
USER www