Version 0.7.0 #1
@ -72,10 +72,10 @@ RUN groupadd -g 1000 www
|
|||||||
RUN useradd -u 1000 -ms /bin/bash -g www www
|
RUN useradd -u 1000 -ms /bin/bash -g www www
|
||||||
|
|
||||||
# Copy existing application directory contents
|
# Copy existing application directory contents
|
||||||
COPY . /var/www
|
#COPY . /var/www
|
||||||
|
|
||||||
# Copy existing application directory permissions
|
# Copy existing application directory permissions
|
||||||
COPY --chown=www:www . /var/www
|
#COPY --chown=www:www . /var/www
|
||||||
|
|
||||||
# Change current user to www
|
# Change current user to www
|
||||||
USER www
|
USER www
|
||||||
|
Loading…
Reference in New Issue
Block a user