[connfa-web] Tweak users accordingly, part 2



commit fa33f82b4beb152914c90d2ba392bf878bda521b
Author: Andrea Veri <averi redhat com>
Date:   Tue Jun 18 19:03:16 2019 +0200

    Tweak users accordingly, part 2

 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 2785b31..fb3cb4d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,16 +12,16 @@ RUN git clone https://github.com/lemberg/connfa-integration-server connfa
 RUN cd connfa && composer install --no-interaction --no-suggest --no-dev
 COPY env /app/connfa/.env
 
+USER root
 RUN rm /etc/httpd/conf.d/welcome.conf
 COPY httpd.conf /etc/httpd/conf.d/connfa.conf
 
 WORKDIR /app/connfa
 
-USER root
 RUN chown -R 1000630000:0 /app/connfa && \
     chmod -R 664 /app/connfa && \
     find /app/connfa -type d -exec chmod 775 {} +
  
-USER 1000630000
 COPY entrypoint.sh /entrypoint.sh
+USER 1000630000
 ENTRYPOINT ["/entrypoint.sh"]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]