Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -24,7 +24,7 @@ RUN groupadd www
|
|
24 |
|
25 |
RUN useradd -m -u 1000 user
|
26 |
|
27 |
-
RUN sed -i '1i RewriteEngine On\nRewriteCond %{HTTPS} !=on\nRewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]' .htaccess && cat .htaccess
|
28 |
|
29 |
RUN chown -R user /var/www/html
|
30 |
|
|
|
24 |
|
25 |
RUN useradd -m -u 1000 user
|
26 |
|
27 |
+
RUN ls && sed -i '1i RewriteEngine On\nRewriteCond %{HTTPS} !=on\nRewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]' .htaccess && cat .htaccess
|
28 |
|
29 |
RUN chown -R user /var/www/html
|
30 |
|