Spaces:
Sleeping
Sleeping
Commit
·
7d78cfc
1
Parent(s):
d45e94e
Update entrypoint.sh
Browse files- entrypoint.sh +13 -1
entrypoint.sh
CHANGED
|
@@ -1,5 +1,17 @@
|
|
| 1 |
#!/bin/sh
|
| 2 |
set -e
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
# Execute the main command
|
| 5 |
-
exec "$@"
|
|
|
|
| 1 |
#!/bin/sh
|
| 2 |
set -e
|
| 3 |
|
| 4 |
+
# Print information about the /app directory
|
| 5 |
+
echo "Contents of /app:"
|
| 6 |
+
ls -l /app
|
| 7 |
+
|
| 8 |
+
# Print information about the 'app.csv' file
|
| 9 |
+
echo "Contents of /app/app.csv:"
|
| 10 |
+
ls -l /app/app.csv
|
| 11 |
+
|
| 12 |
+
# Print environment variables
|
| 13 |
+
echo "USER_ID: $USER_ID"
|
| 14 |
+
echo "USER_GROUP: $USER_GROUP"
|
| 15 |
+
|
| 16 |
# Execute the main command
|
| 17 |
+
exec "$@"
|