I am having this problem too but when I try to add this startup file my app stop working and I receive the following messages.
2022-09-21T16:55:35.216554607Z Unpacking msodbcsql17 (17.10.1.1-1) ...
2022-09-21T16:55:35.566536529Z Setting up msodbcsql17 (17.10.1.1-1) ...
2022-09-21T16:55:35.588650540Z odbcinst: Driver installed. Usage count increased to 1.
2022-09-21T16:55:35.589470392Z Target directory is /etc
as exited, failing site start
2022-09-21T16:55:36.546Z INFO - Initiating warmup request to container ampsystem_0_c98e7188_middleware for site ampsystem
2022-09-21T16:55:36.915Z INFO - Container ampsystem_0_c98e7188_middleware for site ampsystem initialized successfully and is ready to serve requests.
2022-09-21T16:55:36.977Z ERROR - Container ampsystem_0_c98e7188 didn't respond to HTTP pings on port: 8000, failing site start. See container logs for debugging.
2022-09-21T16:55:37.014Z INFO - Stopping site ampsystem because it failed during startup.
But I don't have any clue why it is not starting. Do I need to add a custom startup command on the startup file?