circulartext commited on
Commit
c379058
·
1 Parent(s): f58c1fa

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +4 -5
entrypoint.sh CHANGED
@@ -1,8 +1,7 @@
1
- #!/bin/sh
2
- set -e
3
 
4
- # Set permissions at runtime
5
  chmod -R 777 /app
6
 
7
- # Execute the main command
8
- exec "$@"
 
1
+ #!/bin/bash
 
2
 
3
+ # Set the correct permissions on the /app directory
4
  chmod -R 777 /app
5
 
6
+ # Start the FastAPI application
7
+ exec "$@"