|
|
@@ -3,15 +3,8 @@ ENV TZ=Europe/Berlin
|
|
|
|
|
|
WORKDIR /var/www/html
|
|
|
USER root
|
|
|
-#RUN usermod -a -G ssl-cert www-data
|
|
|
-#RUN chown -R root:ssl-cert /etc/ssl \
|
|
|
-# && chmod -R 640 /etc/ssl/private \
|
|
|
-# && chmod 640 /etc/ssl/private/apache-selfsigned.key
|
|
|
COPY . .
|
|
|
-#RUN chown -R www-data:www-data /var/www
|
|
|
-#USER www-data
|
|
|
ONBUILD COPY composer.json ./
|
|
|
RUN composer install --no-interaction
|
|
|
RUN chown -R nobody:nobody /var/www
|
|
|
-USER nobody
|
|
|
-
|
|
|
+USER nobody
|