File size: 342 Bytes
4e3d16d
 
 
ff60d55
 
 
 
 
b50c572
 
 
684ccd8
128728a
 
ff60d55
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
set -e

# Show environment information
echo "Starting entrypoint.sh..."
echo "User: $(whoami)"
echo "Current directory: $(pwd)"

# Create necessary directories
mkdir -p /tmp/pdf_uploads /tmp/pdf_output
chmod -R 777 /tmp/pdf_uploads /tmp/pdf_output

# Start the Flask application
echo "Starting Flask application..."
python app.py