kopia lustrzana https://github.com/pixelfed/pixelfed
				
				
				
			Add a start script and automatically migrate the db
							rodzic
							
								
									eddeb5e788
								
							
						
					
					
						commit
						b412616c28
					
				|  | @ -31,3 +31,5 @@ RUN install -d -m0755 -o www-data -g www-data \ | |||
| VOLUME ["/var/www/storage"] | ||||
| 
 | ||||
| ENV PATH="~/.composer/vendor/bin:./vendor/bin:${PATH}" | ||||
| 
 | ||||
| CMD /var/www/docker/start.sh | ||||
|  | @ -0,0 +1,6 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| mkdir -p storage/framework/{cache,sessions,views,logs} | ||||
| php artisan migrate | ||||
| 
 | ||||
| exec apache2-foreground | ||||
		Ładowanie…
	
		Reference in New Issue
	
	 Pierre Jaury
						Pierre Jaury