mirror of
				https://github.com/fspc/biketree.git
				synced 2025-10-31 17:05:36 -04:00 
			
		
		
		
	Protects the install directory from public installation.
This commit is contained in:
		
							parent
							
								
									70a7d9daab
								
							
						
					
					
						commit
						e7f0785da6
					
				| @ -13,7 +13,7 @@ RUN rm -rf /usr/share/nginx/html; apk update; apk add git; apk add php5-mysql | |||||||
| RUN git clone https://github.com/fspc/biketree.git /usr/share/nginx/html | RUN git clone https://github.com/fspc/biketree.git /usr/share/nginx/html | ||||||
| COPY  settings.php /usr/share/nginx/html | COPY  settings.php /usr/share/nginx/html | ||||||
| COPY  default.conf /etc/nginx/conf.d | COPY  default.conf /etc/nginx/conf.d | ||||||
| RUN chown -R nginx:nginx /usr/share/nginx/html; mkdir /var/www; ln -sf /usr/share/nginx/html/ /var/www/html;  chmod 0004 /usr/share/nginx/html/settings.php | RUN chown -R nginx:nginx /usr/share/nginx/html; mkdir /var/www; ln -sf /usr/share/nginx/html/ /var/www/html;  chmod 0004 /usr/share/nginx/html/settings.php; chomod 0004 /usr/share/nginx/install; | ||||||
| 
 | 
 | ||||||
| VOLUME /usr/share/nginx/html  | VOLUME /usr/share/nginx/html  | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user