Production deployment fixes and enhancements
- Added environment variable loading with python-dotenv - Fixed Docker session permissions by using /tmp directory - Updated .dockerignore to include .env file properly - Enhanced docker-compose.yml with env_file directive - Fixed Gunicorn configuration for Docker compatibility - Updated README.md with comprehensive deployment docs - Cleaned up debug logging from API routes - Added DOMAIN_SETUP.md for reverse proxy guidance - All production issues resolved and tested working - Application now accessible at qr.moto-adv.com
This commit is contained in:
1
Dockerfile
Normal file → Executable file
1
Dockerfile
Normal file → Executable file
@@ -24,6 +24,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
# Copy application code
|
||||
COPY main.py .
|
||||
COPY gunicorn.conf.py .
|
||||
COPY .env .
|
||||
COPY app/ ./app/
|
||||
|
||||
# Create necessary directories
|
||||
|
||||
Reference in New Issue
Block a user