build: run pending Diesel migrations on the Docker development container start
This commit is contained in:
		| @@ -20,4 +20,4 @@ HEALTHCHECK CMD curl --fail http://localhost:8000 || exit 1 | ||||
|  | ||||
| USER 1000:1000 | ||||
|  | ||||
| CMD ["supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] | ||||
| CMD sh docker/dev/app/entrypoint.sh | ||||
|   | ||||
							
								
								
									
										3
									
								
								docker/dev/app/entrypoint.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								docker/dev/app/entrypoint.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| diesel migration run | ||||
|  | ||||
| supervisord -c /etc/supervisor/conf.d/supervisord.conf | ||||
		Reference in New Issue
	
	Block a user