Removed unnecessary copying in Docker for development.
This commit is contained in:
parent
35c734d840
commit
17fcc6e976
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user