MinerUapi / entrypoint.sh
marcosremar2's picture
Simplify Docker setup and dependencies for minimal API version
b50c572
raw
history blame contribute delete
342 Bytes
#!/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