trying to fix wheel deps
This commit is contained in:
		@@ -17,8 +17,24 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
 | 
			
		||||
# Set working directory
 | 
			
		||||
WORKDIR /app
 | 
			
		||||
 | 
			
		||||
# Copy requirements file
 | 
			
		||||
COPY requirements-minimal.txt requirements.txt
 | 
			
		||||
# Create minimal requirements inline to ensure we use Pydantic v1
 | 
			
		||||
# which doesn't require Rust compilation
 | 
			
		||||
RUN cat > requirements.txt << 'EOF'
 | 
			
		||||
# Minimal requirements - no compilation needed
 | 
			
		||||
# Using Pydantic v1 which is pure Python (no Rust required)
 | 
			
		||||
fastapi==0.95.2
 | 
			
		||||
pydantic==1.10.9
 | 
			
		||||
uvicorn==0.22.0
 | 
			
		||||
httpx==0.24.1
 | 
			
		||||
icalendar==5.0.7
 | 
			
		||||
jinja2==3.1.2
 | 
			
		||||
apscheduler==3.10.1
 | 
			
		||||
pytz==2023.3
 | 
			
		||||
python-multipart==0.0.6
 | 
			
		||||
starlette==0.27.0
 | 
			
		||||
typing-extensions==4.6.3
 | 
			
		||||
python-dateutil==2.8.2
 | 
			
		||||
EOF
 | 
			
		||||
 | 
			
		||||
# Install Python dependencies - all pure Python or pre-built wheels
 | 
			
		||||
RUN pip install --no-cache-dir -r requirements.txt
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user