Explorar el Código

default user for workspace is laradock, so that owner of log file when running php artisan command doesn't change (#1875)

Lan Phan hace 6 años
padre
commit
156d124db0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      workspace/Dockerfile

+ 2 - 2
workspace/Dockerfile

@@ -889,12 +889,12 @@ RUN php -v | head -n 1 | grep -q "PHP ${LARADOCK_PHP_VERSION}."
 #--------------------------------------------------------------------------
 #
 
-USER root
-
 # Clean up
 RUN apt-get clean && \
     rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
     rm /var/log/lastlog /var/log/faillog
 
+USER laradock
+
 # Set default work directory
 WORKDIR /var/www