fix mssql startup (#985)
- Sleep 45s is invalid - /opt/mssql/bin/sqlservr is the correct path for mssql binary
This commit is contained in:
parent
f296a39bf5
commit
e23ecb6a11
@ -1,5 +1,5 @@
|
|||||||
#wait for the SQL Server to come up
|
#wait for the SQL Server to come up
|
||||||
sleep 45s
|
sleep 45
|
||||||
|
|
||||||
#run the setup script to create the DB and the schema in the DB
|
#run the setup script to create the DB and the schema in the DB
|
||||||
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P $SA_PASSWORD -d master -i setup.sql
|
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P $SA_PASSWORD -d master -i setup.sql
|
@ -1,2 +1,2 @@
|
|||||||
#start SQL Server, start the script to create the DB and import the data, start the app
|
#start SQL Server, start the script to create the DB and import the data, start the app
|
||||||
/opt/mssql/bin/sqlservr.sh & /usr/src/app/create_table.sh & tail -f /dev/null
|
/opt/mssql/bin/sqlservr & /usr/src/app/create_table.sh & tail -f /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user